On Tue, Jul 05, 2016 at 12:48:36PM +0200, Bernhard Reutner-Fischer wrote:
> On July 5, 2016 12:26:07 PM GMT+02:00, "Vito Mulè" <mule.v...@gmail.com> 
> wrote:
> 
> Please do not top-post.
> 
> >Yep that would be even better, but at least this patch fixes a broken
> >whois
> >applet.
> >The data is not taken from a random registrar:
> >
> >"The name tld.whois-servers.net is a CNAME to the appropriate
> >whois-server.
> >Somewhat unclear who actually maintains this but it seems pretty
> >popular as
> >it's very easy to use this with pretty much any whois client (and some
> >clients default to using this service)."
> 
> IIRC whois-servers.net belongs to Tucows. Iana-servers.net is the thing from 
> godaddy etc, etc. See respective whois records..
> 
> All of those are not authoritative and can go away any time or return stale 
> or otherwise wrong data, fwiw.

See e.g.:
$ whois nic.ikano
No whois server is known for this kind of object.

versus the "proper":

$ whois -h $(whois -h whois.iana.org ikano | awk '/^whois:/{print $2}') 
nic.ikano

but either way.
Care to send an updated patch, including bloat-o-meter output?

TIA,
> 
> HTH,
> >
> >TODO in the future as you suggested could be to query whois.iana.org
> >for
> >the whois server to then query for the name.
> >
> >On 5 July 2016 at 11:17, Bernhard Reutner-Fischer
> ><rep.dot....@gmail.com>
> >wrote:
> >
> >> 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,
> >> _______________________________________________
> >> busybox mailing list
> >> busybox@busybox.net
> >> http://lists.busybox.net/mailman/listinfo/busybox
> >>
> 
> 
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to