nslookup's Server: 0.0.0.0 but resolves correctly

Steven Honeyman stevenhoneyman at gmail.com
Fri Oct 24 12:00:55 UTC 2014


On 24 October 2014 11:51,  <stroblsw at gmail.com> wrote:
> Hi everybody,
> as per the FAQ I am posting this here before submitting a formal bug report.
>
> On Cyanogenmod android 4.4, busybox' nslookup resolution seemingly
> works correctly but always displays Server: 0.0.0.0, same for Address
> 1: 0.0.0.0

Hi,

I get the same with the latest git source, on x86-64 - but only when
not using glibc.
It's definitely a bug. I disabled nscd, changed DNS to just 8.8.8.8,
and tested musl libc, glibc, the "real" nslookup.
Here's the output:

$ /usr/local/bin/busybox nslookup example.com
Server:    (null)
Address 1: (null)
Address 2: 127.0.0.1 localhost.localdomain

Name:      example.com
Address 1: (null)
Address 2: 93.184.216.119

$ /usr/bin/busybox nslookup example.com
Server:    8.8.8.8
Address 1: 8.8.8.8 google-public-dns-a.google.com

Name:      example.com
Address 1: 93.184.216.119
Address 2: 2606:2800:220:6d:26bf:1447:1097:aa7

$ /bin/nslookup example.com
Server:        8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
Name:    example.com
Address: 93.184.216.119



Thanks,
Steven


More information about the busybox mailing list