
Is it just possible that the way our network is set up that we can't resolve host names? If so that is OK I just need a way to explain it to my boss instead of just saying "it won't work".
#Windows 10 sudo unable to resolve host update#
To fix it, simply update /etc/hosts with the new hostname.

# The nameservers listed below may not be recognized. sudo uses the system resolver, configured by /etc/nf in your case, host lookups were configured to use /etc/hosts, which had the previous hostname identified with the server's IP. # NOTE: the libc resolver may not support more than 3 nameservers. I looked at my nf file and didn't see anything wrong: ┌──(kali㉿kali). In this example is assumed that the hostname (SZS in this case) is correct, but it is not bound to the server's IP address via server's hosts file. Use ctrl + o to save the edits and ctrl + x to exit from Nano. Sudo nmap 10.2.16.73 -dns-servers 10.30.1.4 36 To to resolve a host, just add it to /etc/hosts, like the example below. Nmap commands I've tried: sudo nmap 10.2.16.0/24 -Pn echo 127.0.0.1 computername > /etc/hosts. Not shown: 1000 filtered tcp ports (no-response) To resolve the problem, run these commands in the Bash console. My results look like this: Nmap scan report for 10.2.16.253Īll 1000 scanned ports on 10.2.16.253 are in ignored states. I have tried running several nmap commands and I can't get the results to return host names. This question is not about programming or software development.
