When I ran a simple nmap scan on my localized virtual network I received the following error:
Unable to open /etc/resolv.confUnable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
So, I followed a fix from an nmap discssion way back from 2088 that said to simply recreate the missing
/etc/resolv.conf file and enter the following DNS entry: nameserver 4.2.2.1
Now, when I try nmap it works absolutely fine...so...my question is - what is the nameserver 4.2.2.1? Is it just something to add to make nmap work? I'd like to know what I did to fix it rather than just 'fixing it' by following someones (correct) advice...
Thanks!
PS here is the link from the nmap forum post:
Nmap Development: Re: Problem running Nmap