PDA

View Full Version : Retrieve DNS info in Perl


stan
03-18-1999, 05:43 PM
Hi,

Does anyone here know an easy way to retrieve DNS info for a domain (e.g. MX records) in Perl?

Stan


------------------
Stan P. van de Burgt stan@dmo.com (PGP 0x853296C5)
DMO, P.O. box 1248, 3500 BE, Utrecht, the Netherlands

ChrisH
03-18-1999, 09:45 PM
Hi Stan,


I went to www.perl.com and searched
for DNS. This looks pretty good:

http://www.fuhr.org/~mfuhr/perldns/


ch

Terra
03-20-1999, 12:42 AM
#!/usr/RTFM
$man Net::DNS

#!/usr/local/bin/perl
use Net::DNS;

--
Terra
--'nuff said-- http://www.aota.net/ubb/wink.gif
FutureQuest

[This message has been edited by ccTech (edited 03-20-99).]

stan
03-20-1999, 07:19 AM
Ok, ok, I will RTFM.
Sometimes you just need the right pointer

Thanks