Harald Becker wrote:
By the way, the applet nslookup is misleading, because it uses getaddrinfo instead of a DNS query. As a consequence, there are even answers from non existing DNS-servers.

Whops ... so Busybox nslookup does the job of 'getent hosts' (or one of
its alikes) ... and not a separate DNS query as expected.

When I wrote that, I assumed that it would only return answers from an /etc/hosts lookup. But it seems that the attempt to set an alternate DNS-Server is not effective with busybox 1.19.3 and uClibc-0.9.29:

# nslookup www.google.com 0.0.0.0
Server:    0.0.0.0
Address 1: 0.0.0.0

Name:      www.google.com
Address 1: 173.194.35.176 muc03s02-in-f16.1e100.net
Address 2: 173.194.35.177 muc03s02-in-f17.1e100.net
Address 3: 173.194.35.178 muc03s02-in-f18.1e100.net
Address 4: 173.194.35.179 muc03s02-in-f19.1e100.net
Address 5: 173.194.35.180 muc03s02-in-f20.1e100.net

Ralf
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to