For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2005 > Net::DNS - Specify a Name Server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Net::DNS - Specify a Name Server
Ryan Frantz

2005-08-05, 9:59 pm

Perlers,



I'd like to use Net::DNS to verify that that my external name servers
are running DNS and returning the correct records. How does one specify
an alternate DNS server to use when querying?



I've Googled and RTFM but can't seem to find the answer. Is Net::DNS
appropriate? Or is there another module that I should be using?



Ryan


Wiggins d'Anconia

2005-08-05, 9:59 pm

Ryan Frantz wrote:
> Perlers,
>
>
>
> I'd like to use Net::DNS to verify that that my external name servers
> are running DNS and returning the correct records. How does one specify
> an alternate DNS server to use when querying?
>
>
>
> I've Googled and RTFM but can't seem to find the answer. Is Net::DNS
> appropriate? Or is there another module that I should be using?
>


Perhaps you read the wrong FM?

http://search.cpan.org/~olaf/Net-DN...DNS/Resolver.pm

If you create your own resolver object then you can specify which
servers to use.

http://danconia.org

>
>
> Ryan
>
>

Ryan Frantz

2005-08-05, 9:59 pm



> -----Original Message-----
> From: Wiggins d'Anconia [mailto:wiggins@danconia.org]
> Sent: Friday, August 05, 2005 4:12 PM
> To: Ryan Frantz
> Cc: beginners@perl.org
> Subject: Re: Net::DNS - Specify a Name Server
>=20
> Ryan Frantz wrote:
servers[color=darkred]
specify[color=darkred]
Net::DNS[color=darkred]
>=20
> Perhaps you read the wrong FM?
>=20
> http://search.cpan.org/~olaf/Net-DN...DNS/Resolver.pm
>

Geez! What a dufus; I missed that one... I'll be more thorough next
time...
=20[color=darkred]
> If you create your own resolver object then you can specify which
> servers to use.
>=20
> http://danconia.org
>=20
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com