whois doesn't work

Vito Mulè mule.vito at gmail.com
Mon Jul 4 16:10:22 UTC 2016


the problem is with the server used by the applet:

vmule at agent4:~/busybox$ nslookup whois-servers.net 43
socket.c:1915: internal_send: 0.0.0.43#53: Invalid argument
^C
vmule at agent4:~/busybox$ nslookup whois-servers.net
Server: 192.168.1.254
Address: 192.168.1.254#53

Non-authoritative answer:
Name: whois-servers.net
Address: 204.74.78.75

vmule at agent4:~/busybox$ telnet 204.74.78.75 43
Trying 204.74.78.75...
^C

whois-servers.net

linus whois uses this:

vmule at agent4:~/busybox$ telnet 204.74.78.75 43
Trying 204.74.78.75...
^C
vmule at agent4:~/busybox$ nslookup 192.12.192.242
Server: 192.168.1.254
Address: 192.168.1.254#53

Non-authoritative answer:
242.192.12.192.in-addr.arpa name = whois.nic.it.


using this solves the issue:

vmule at agent4:~/busybox$ ./busybox_unstripped whois www.google.it
Domain:             www.google.it
Status:             UNASSIGNABLE

Patch incoming.



On 4 July 2016 at 16:52, walter harms <wharms at bfs.de> wrote:

>
>
> Am 04.07.2016 17:34, schrieb walter harms:
> >
> >
> > Am 04.07.2016 17:22, schrieb Jody Bruchon:
> >> On 2016-07-04 11:18, Vito Mulè wrote:
> >>> Can you strace it and post the output?
> >>
> >> I can confirm this problem has been going on for a while; one day it
> >> just stopped working. Here's an strace:
> >>
> >>
> >> recvfrom(3, "\254g\201\200\0\1\0\1\0\0\0\0\rwhois-servers\3net\0\0"...,
> >> 1024, 0, {sa_family=AF_INET, sin_port=htons(53),
> >> sin_addr=inet_addr("8.8.8.8")}, [16]) = 51
> >> close(3)                                = 0
> >> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> >> setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> >> connect(3, {sa_family=AF_INET, sin_port=htons(43),
> >> sin_addr=inet_addr("204.74.78.75")}, 16
> >>
> >
> > just to be sure ..
> > you can ping 204.74.78.75 ?
> >
> >
> > re,
> >  wh
> > _______________________________________________
>
>
> When i ask for  www.google.com i get 172.217.18.36
> that is something i can ping. Strange, does this google
> configure the servers differently ?
>
> re,
>  wh
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160704/3eb2f58e/attachment-0001.html>


More information about the busybox mailing list