mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-26 22:04:15 -04:00
Use the FQDN as the domain when processing '.' records
git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@351 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
@@ -204,7 +204,7 @@ LINE: while(<DATA>) {
|
||||
if (!defined($timestamp)) { $timestamp = ""; }
|
||||
if (!defined($loc)) { $loc = ""; }
|
||||
my $id = "NSA-$fqdn-$ip-$x-$ttl-$timestamp-$loc";
|
||||
my $domain = getdomain($fqdn);
|
||||
my $domain = $fqdn;
|
||||
|
||||
print $outfh "dn: cn=$id,cn=$domain,$basedn\n";
|
||||
print $outfh "objectClass: top\n";
|
||||
|
||||
Reference in New Issue
Block a user