[PATCH] Bug 9076 - Whois using a non working host for queries by default
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Tue Jul 5 10:17:30 UTC 2016
On Tue, Jul 05, 2016 at 10:47:07AM +0200, walter harms wrote:
> please add a comment what whois_host() is supposed to do
>
>
> > +void whois_host(char* host, char *argv_host, const char *unqualified_host)
Apart from that, using the data from a random registrar is not reliable
(as you can see).
AFAIU whois(1) is supposed to:
1) ask whois.iana.org for the TLD
e.g. whois -h whois.iana.org wien
2) use the "^whois:" server of that answer for the full domain
e.g. whois -h whois.nic.wien ccc.wien
HTH,
More information about the busybox
mailing list