[Bug 675] nslookup does not properly use second argument [SERVER]
bugzilla at busybox.net
bugzilla at busybox.net
Fri Oct 13 11:06:50 UTC 2023
https://bugs.busybox.net/show_bug.cgi?id=675
--- Comment #12 from Gordon Lack <gordon.lack at dsl.pipex.com> ---
This is still an issue in 1.36.1.
Entware uses busybox and I have this installed on my Asus routers.
This is the result of trying to specify a server
[asus2]: nslookup birdman.dynalias.org 8.8.8.8
Server: 8.8.8.8
Address 1: 8.8.8.8 dns.google
Name: birdman.dynalias.org
Address 1: 192.168.1.240 birdman.dynalias.org
but that address is from the local resolver (hence the local address) not the
one from Google's resolvers.
The correct answer (at the moment) is:
[asus2]: host birdman.dynalias.org 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
birdman.dynalias.org has address 92.16.225.130
It does read resolv.conf, but even moving that out of the way or replacing the
nameserver line in there with 8.8.8.8 doesn't stop it using the local address.
And that is because it is reading the local hosts file, even though a specific
server is given.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list