Home / Blogs

Getting WHOIS Server Address Directly from Registry

Don't miss a thing – sign up for CircleID Weekly Wrap newsletter delivered to your inbox once a week.
Jay Daley

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

Related topics: DNS, Top-Level Domains, Whois

 
   

Comments

Re: Getting WHOIS Server Address Directly from Registry 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 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 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 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 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.

To post comments, please login or create an account.

Related Blogs

Related News

Explore Topics

Dig Deeper

Afilias

DNS Security

Sponsored by Afilias
Verisign

Cybersecurity

Sponsored by Verisign
Afilias Mobile & Web Services

Mobile Internet

Sponsored by Afilias Mobile & Web Services

Promoted Posts

Now Is the Time for .eco

.eco launches globally at 16:00 UTC on April 25, 2017, when domains will be available on a first-come, first-serve basis. .eco is for businesses, non-profits and people committed to positive change for the planet. See list of registrars offering .eco more»

Boston Ivy Gets Competitive With Its TLDs, Offers Registrars New Wholesale Pricing

With a mission to make its top-level domains available to the broadest market possible, Boston Ivy has permanently reduced its registration, renewal and transfer prices for .Broker, .Forex, .Markets and .Trading. more»

Industry Updates – Sponsored Posts

.PRESS Supports Press Freedom Day for 3rd Consecutive Year

5 Afilias Top Level Domains Now Licensed for Sale in China

Radix Announces Largest New gTLD Sale with Casino.Online

2016 Year in Review: The Trending Keywords in .COM and .NET Domain Registrations

Global Domain Name Registrations Reach 329.3 Million, 2.3 Million Growth in Last Quarter of 2016

A Look at How the New .SPACE TLD Has Performed Over the Past 2 Years

Neustar to be Acquired by Private Investment Group Led by Golden Gate Capital

Startup League Reports from WebSummit, Lisbon

.SPACE Becomes the Choice of the First Ever Space Nation Asgardia

Don't Gamble With Your DNS

Why .com is the Venture Capital Community's Power Player

The .cancerresearch TLD: Search for Cure Drives Digital Innovation

New TLD? Make Sure It's Secure

Radix Launches Startup League at TechCrunch

Celebrating One Year of .online

Verisign Releases Q2 2016 DDoS Trends Report - Layer 7 DDoS Attacks a Growing Trend

LogicBoxes Launches the New Elite Reseller Program

How Savvy DDoS Attackers Are Using DNSSEC Against Us

Afilias Acquires Premium TLDs .ARCHI, .BIO and .SKI

Radix Adds Dyn as a DNS Service Provider