whois

Correct command to get domain whois info


If I use # whois google.ru ssh command then I get proper whois information.
But if I try to use the same for the following domain I fail:

htaccess.net.ru

The response I get is No entries found for the selected source(s).

This domain is in someway similar to .co.uk. That is you cannot register example.uk but you can register example.co.uk


Solution

  • I recently encountered this issue myself at GWhois.org (example: http://gwhois.org/htaccess.net.ru)

    The issue is that the .RU registry has 2 whois servers:

    The first one is the one listed at IANA, so it is assummed to be the authoritative one.

    Unfortunately, this server does not support lookups for the .RU registry's .net.ru and other second level domain names.

    In the command prompt, you will need to to set the whois server manually like so:

    whois -h whois.nic.ru htaccess.net.ru