search for: find_nameserv

Displaying 1 result from an estimated 1 matches for "find_nameserv".

2007 Aug 01
0
Hostname DNS update (using nsupdate-gss) to Active Directory DNS using Sites
...ST DOMAIN IP TTL +Usage: nsupdate-gss.pl HOST DOMAIN IP TTL [NS] "; exit 1; } @@ -35,6 +38,7 @@ my $ip = $ARGV[2]; my $ttl = $ARGV[3]; my $alg = "gss.microsoft.com"; +my $ns = $ARGV[4] if ($#ARGV >= 4); @@ -229,7 +233,11 @@ # find the nameservers my $nameserver = find_nameservers("$domain."); -print "Found nameserver $nameserver\n"; +$nameserver->nameservers("$ns") if (defined($ns)); +#print $nameserver->print; + +#print "Found nameserver $nameserver\n"; +print "Found ".$nameserver->nameservers." nameserve...