Home / Blogs

Getting WHOIS Server Address Directly from Registry

If you want to find out the WHOIS server for a particular TLD then in many cases you can do it with a simple DNS lookup. Just query for an SRV record for the domain _nicname._tcp.tld, like this:

~ jay$ dig +short _nicname._tcp.uk srv
0 0 43 whois.nic.uk.

The answer tells you that the WHOIS server for .uk is on port 43 (as it should be) of the server whois.nic.uk.

Many other TLDs follow this convention including .au .at .dk .fr .de .hu .ie .li .lu .nl .no .re .si .se and .ch. This list has now expanded to include .us and .biz and other registries are actively considering it. Of course for gTLDs with distributed WHOIS services there may be some problems to be overcome.

However, I hope developers pick up on this and start building it into their code. At the moment most developers tend to use a service like whois-servers.net, but this mechanism means they can get the WHOIS server address directly from the registry and so users should get a better experience.

By Jay Daley, Chief Executive of the .nz registry

CircleID Newsletter The Weekly Wrap

More and more professionals are choosing to publish critical posts on CircleID from all corners of the Internet industry. If you find it hard to keep up daily, consider subscribing to our weekly digest. We will provide you a convenient summary report once a week sent directly to your inbox. It's a quick and easy read.

I make a point of reading CircleID. There is no getting around the utility of knowing what thoughtful people are thinking and saying about our industry.

VINTON CERF
Co-designer of the TCP/IP Protocols & the Architecture of the Internet

Comments

Re: Getting WHOIS Server Address Directly from Registry By Michele Neylon  –  Apr 20, 2007 5:31 am PDT

It would help if more of the ccTLDs provided some form of CLIbased whois or at least a DAS check.

Re: Getting WHOIS Server Address Directly from Registry By Paul Hoffman  –  Apr 22, 2007 7:55 am PDT

For those of us who use command-line interfaced, the "jwhois" package is a nice transparaent interface to all of the whois services. See the jwhois page for more info.

Re: Getting WHOIS Server Address Directly from Registry By Michele Neylon  –  Apr 22, 2007 7:57 am PDT

Unfortunately jwhois does not work with a lot of the ccTLDs - I've been trying it :)

Re: Getting WHOIS Server Address Directly from Registry By Paul Hoffman  –  Apr 22, 2007 8:16 am PDT

I haven't had that problem. I'm sure that the person at would appreciate knowing which TLDs are not working.

Re: Getting WHOIS Server Address Directly from Registry By Paul Hoffman  –  Apr 22, 2007 8:18 am PDT

(Trying that again...)

I haven’t had that problem. I’m sure that the person at help-jwhois@gnu.org would appreciate knowing which TLDs are not working.

Add Your Comments

 To post your comments, please login or create an account.

Related

Topics

Domain Names

Sponsored byVerisign

DNS Security

Sponsored byAfilias

IP Addressing

Sponsored byIPv4.Global

Cybersecurity

Sponsored byVerisign

New TLDs

Sponsored byAfilias

Whois

Sponsored byWhoisXML API

Brand Protection

Sponsored byAppdetex

Cybercrime

Sponsored byThreat Intelligence Platform