2009/10/20 rocku <[email protected]>:
> So my question is - how to query a specific nameserver about a DNS 'A'
> record?

See the first example in the Net::DNS manpage:

http://search.cpan.org/~olaf/Net-DNS-0.65/lib/Net/DNS.pm#EXAMPLES

Just change:

    my $res = Net::DNS::Resolver->new;

to:

    my $res = Net::DNS::Resolver->new(nameservers=>[$nameserver]) or die;

where $nameserver is the IP address of your name server.

Rafał Pocztarski
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to