我尝试运行几个 nmap 命令,但无法获得返回主机名的结果。我的结果如下所示:
Nmap scan report for 10.2.16.253
Host is up (0.0025s latency).
All 1000 scanned ports on 10.2.16.253 are in ignored states.
Not shown: 1000 filtered tcp ports (no-response)
MAC Address: D8:D0:90:2F:6C:34 (Dell)
我试过的 Nmap 命令:
sudo nmap 10.2.16.0/24 -Pn
sudo nmap 10.2.16.0/24 -sn
sudo nmap 10.2.16.0/24 -R
sudo nmap 10.2.16.0/24 -A
sudo nmap 10.2.16.0/24 --system-dns
sudo nmap 10.2.16.73 --dns-servers 10.30.1.4
我查看了我的 resolv.conf 文件,没有发现任何问题:
┌──(kali㉿kali)-[~]
└─$ cat /etc/resolv.conf
# Generated by NetworkManager
search company.com
nameserver 10.2.0.4
nameserver 10.30.1.15
nameserver 10.30.1.60
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 10.30.1.4
我们的网络设置方式是否有可能我们无法解析主机名?如果是这样,那我只需要一种方法向我的老板解释,而不是仅仅说“它行不通”。
感谢帮助。