On Wed, May 31, 2006 at 05:45:34PM -0700, Fyodor wrote: > On Tue, May 30, 2006 at 07:59:15PM +0200, Robert Millan wrote: > > > > nmap requires working DNS even when specifiing target by IP: > > > > $ sudo nmap -sS -O 192.168.100.1 > > > > Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-05-30 19:56 > > CEST > > Unable to determine any DNS servers. Try using --system_dns or specify > > valid servers with --dns_servers > > QUITTING! > > > > Sounds like-overzealous sanity check, anyway. Once the host is determined > > to be > > a domain name, why not just attempting to resolve it using the standard > > library > > calls instead? > > Thanks for the report. The error message is for reverse-resolution, > so it doesn't matter that you specified an IP. Do the standard > library calls find DNS servers for you? If so, how?
Sorry, I don't know. However, the big problem here is inability to use nmap when /etc/resolv.conf is broken. When this happens, instead of aborting, I think it should just disable whatever functionality is associated with reverse-resolution. -- Robert Millan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]