root server query question
Stephane Bortzmeyer
bortzmeyer at nic.fr
Thu Apr 28 19:55:02 UTC 2005
On Thu, Apr 28, 2005 at 12:05:54PM -0700,
Christopher.Lee at uboc.com <Christopher.Lee at uboc.com> wrote
a message of 117 lines which said:
> How do I get it to give me a list of the NS records listed at the
> root servers
The root name servers certainly do not know about your NS!
But if you want to query a different name server than the default,
Read The Doc, Luke:
% perldoc Net::DNS::Resolver
...
# Set options in the constructor
my $res = Net::DNS::Resolver->new(
nameservers => [qw(10.1.1.128 10.1.2.128)],
recurse => 0,
debug => 1,
);
...
nameservers
An array reference of nameservers to query.
More information about the bind-users
mailing list