Public bug reported:

Binary package hint: nmap

I recently configured our 10.04 LTS systems to use only IPv6 resolvers:

root@cajones:~# cat /etc/resolv.conf
nameserver 2001:610:148:dead::4
nameserver 2001:610:158:98d::42
domain terena.org

nmap complains since:

root@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@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@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727114

Title:
  nmap only recognizes IPv6 resolvers by specifying "--system-dns"

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to