[Bug 727114] [NEW] nmap only recognizes IPv6 resolvers by specifying "--system-dns"
/usr/local/dick
dick at tienhuis.nl
Tue Mar 1 11:47:14 UTC 2011
Public bug reported:
Binary package hint: nmap
I recently configured our 10.04 LTS systems to use only IPv6 resolvers:
root at cajones:~# cat /etc/resolv.conf
nameserver 2001:610:148:dead::4
nameserver 2001:610:158:98d::42
domain terena.org
nmap complains since:
root at cajones:~# nmap -sP putin.terena.org
Starting Nmap 5.00 ( http://nmap.org ) at 2011-03-01 12:43 CET
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Host 192.87.38.10 is up (0.00032s latency).
Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds
If I use --system-dns no complaints:
root at cajones:~# nmap --system-dns -sP putin.terena.org
Starting Nmap 5.00 ( http://nmap.org ) at 2011-03-01 12:43 CET
Host putin.terena.org (192.87.38.10) is up (0.00025s latency).
Nmap done: 1 IP address (1 host up) scanned in 0.37 seconds
Manually specifying the resolvers however does not seem to work either:
root at cajones:~# nmap --dns-servers
2001:610:148:dead::4,2001:610:158:98d::42 -sP putin.terena.org
Starting Nmap 5.00 ( http://nmap.org ) at 2011-03-01 12:46 CET
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Host 192.87.38.10 is up (0.00028s latency).
Nmap done: 1 IP address (1 host up) scanned in 0.36 seconds
** Affects: nmap (Ubuntu)
Importance: Undecided
Status: New
** Tags: ipv4 ipv6
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nmap in ubuntu.
https://bugs.launchpad.net/bugs/727114
Title:
nmap only recognizes IPv6 resolvers by specifying "--system-dns"
More information about the Ubuntu-server-bugs
mailing list