Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: NMAP Error2
From: doug () hcsw org
Date: Tue, 21 Mar 2006 20:13:38 -0800

Hi walnut,

By default nmap will attempt to look up the hostnames associated
with the IPs you scan. If you don't have DNS servers the easiest fix
is probably to follow kx's advice and add -n to the command line.

Alternatively, you could configure a local DNS server or put the
IPs and hostnames into the file /etc/hosts.

Good luck,

Doug



On Tue, Mar 21, 2006 at 09:02:53PM -0500 or thereabouts, kx wrote:
This might help as well:

-n (No DNS resolution)

    Tells Nmap to never do reverse DNS resolution on the active IP
addresses it finds. Since DNS is often slow, this speeds things up.

On 3/21/06, Ron <iago () valhallalegends com> wrote:
What command are you using to start Nmap?

Since you don't have a DNS server, then you obviously cannot specify the
other host by DNS name.  If you aren't, it might be possible that there
is a bug in Nmap which tries to access DNS servers even when it doesn't
have to.

walnut wrote:
Hi.
I have complied Nmap4.01 successfully.

But i'm hit with another error
=========
Starting Nmap 4.01 ( http://www.insecure.org/nmap/ ) at 2006-03-21 05:55 SGT
Warning: File ./nmap-services exists, but Nmap is using
/usr/local/share/nmap/nmap-services for security and consistency reasons.
set NMAPDIR=. to give priority to files in your local directory (may affect
the other data files too).
Unable to determine any DNS servers. Try using --system-dns or specify valid
servers with --dns_servers
QUITTING!
=========

My setup is simple.  No DNS servers here.  Just 2 boxes connected by a cross
cable.  Have tested connectivity ok.

I'm not very familiar with linux, just a security consultant wanting to work
on NMAP on linux.
Can you give me some advice on the error mesg?

Thank you once again.
--
View this message in context: http://www.nabble.com/NMAP-Error2-t1321221.html#a3524662
Sent from the Nmap - Dev forum at Nabble.com.



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault