nslookup not using the specified nameserver

George Nychis gnychis at gmail.com
Mon Nov 26 18:56:36 UTC 2012


I am able to use nslookup on my Mac, for example, specifying the DNS
namesever to use (e.g., a local one like 192.168.1.1).

Based on the nslookup usage in busybox is the following:
Usage: nslookup [HOST] [SERVER]

However, no matter what I specify [SERVER] to be, it still ends up
using the default nameservers.  I have verified this using a PCAP
dump.  The IPv4 destination of the DNS requests always end up being
the default nameservers.

Trying to dig in to the busybox source code, but if anyone knows of
this issue and knows it to be something more fundamental, please let
me know.

Thanks!
George


More information about the busybox mailing list