Guys,

I have written a CGI script to figure out the IP address associated
with a domain.

It will also print multiple IP addresses associated with a domain.

Additionally what the script can do is print all the MX records(for
e-mail sending) with
their associated weights and IP addresses.

Take a look yourself:

http://spam-cheetah.com/dns.html

Of course you can download the CGI script and view the syntax
highlighted version
either here:

http://www.spam-cheetah.com/bgquery.html

Or you could go there from the query page.

Hope this is useful. In case you are curious you can read about DNS
from RFC1035.txt
which you can obtain like this:

$ wget ietf.org/rfc/rfc1035.txt

And you can

# perl -MCPAN -e 'install Net::DNS;'

and

$ man Net::DNS

I developed this code from the examples given in the man page.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to