在我们的网络中,当我在主机名上进行挖掘时,它不会给我IP地址,但是当我添加域名时,它是工作的,或者是当我执行dig +搜索时
为什么域名是DIG将主机名解析为IP的先决条件?
发布于 2016-11-24 17:24:21
因为dig按设计的方式工作。
从手册页截取:
+[no]search Use or do not use the search list defined by the search list or domain directive in the /etc/resolv.conf file (if any). The search list is not used by default.总之,不要把dig和nslookup混淆起来。
https://unix.stackexchange.com/questions/325814
复制相似问题