3 ms·
The whois query works with his Microsoft example but I get a malformed request error when trying it with some of the newer domain extensions like .ninja
by brightball 11y ago
The whois query works with his Microsoft example but I get a malformed request error when trying it with some of the newer domain extensions like .ninja
- nailer 11y agoAuthor here. The query format is (sadly) server dependent. For a ninja domain, use `whois.nic.ninja` as the server, and don't use the 'domain somedomain' query syntax. whois -h whois.nic.ninja domains.ninja Normally the server would tell you the syntax it supports with `whois -h whois.nic.ninja help`, but whois.nic.ninja doesn't support `help` either. See https://certsimple.com/blog/junk-free-whois https://certsimple.com/blog/junk-free-whois
- nandhp 11y agoI really like the Debian version of whois because it solves this problem by automatically picking the correct server based on the query (even for .ninja) and following referrals to a whois server with more details. https://packages.debian.org/stable/whois https://packages.debian.org/stable/whois
- nailer 11y agoRad. Did some clicking around, here's the upstream https://github.com/rfc1036/whois https://github.com/rfc1036/whois
- brightball 11y agoThanks! Also came across gwhois.org that seems to take a novel approach to the problem too.