summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d7d390a)
raw | patch | inline | side by side (parent: d7d390a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Oct 2007 07:27:26 +0000 (07:27 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Oct 2007 07:27:26 +0000 (07:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7448 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_dns.inc | patch | blob | history |
index 4365eb7d458ae4373f749e0a07db0da2bd8665e6..7ce7c33efc056d19ae9ff4e64543f95d6e317744 100644 (file)
* like pTRRecord or CNAMERecord
*/
if($rec['type'] == "pTRRecord"){
- $PTRdn= "relativeDomainName=".$rec['value'].",".$baseDn;
+ $PTRdn= "relativeDomainName=".FlipIP($rec['value']).",".$baseDn;
$ptrObj = $baseObj;
$reverseName = getNameFromMix($reverseNameMix);
$ptrObj['zoneName'] = $reverseName;
}else{
$ptrObj['pTRRecord'] = preg_replace("/\.\.$/",".",$newName.".");
}
- $ptrObj['relativeDomainName'] = $rec['value'];
+ $ptrObj['relativeDomainName'] = FlipIP($rec['value']);
$add[$PTRdn] = $ptrObj;
}else