Useful DNS Queries

| 1 Comment
I have come across a couple of handy little trick for DNS recently which I'm going to throw up here just to save me searching when I need them in the future :)

Getting The Version Of A DNS Server

To get the version of a DNS server, you can run the following command:
dig @dns_server_you_want_to_check +short version.bind chaos txt
It is very easy for the server administrator to change this to whatever they want, but it's still a handy command.

Getting The Whois Server For A Top Level Domain

I found the following command for finding the whois server for a TLD on the Nominet Blog.
dig +short _nicname._tcp.ie srv
This should return:
10 0 43 whois.domainregistry.ie.
This means that the whois server for .ie is listening to port 43 at whois.domainregistry.ie. Unfortunately, not all TLDs support this, most noticeably .com.

1 Comment

I wouldn't worry too much about .com. It's the ccTLDs that don't even have a whois server that drive me mad!

Michele

About this Entry

This page contains a single entry by Niall Donegan published on June 14, 2007 1:55 PM.

Can Banks Give ATMs Some Bit Of Intelligence? was the previous entry in this blog.

Limerck Traffic Gone Mad? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Creative Commons License
This blog is licensed under a Creative Commons License.
Powered by Movable Type 5.02