domain-name-system – 是否可以跟踪DNS查找的委派路径?

前端之家收集整理的这篇文章主要介绍了domain-name-system – 是否可以跟踪DNS查找的委派路径?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试确定为什么 Nagios主机检查失败(主机名和IP已被更改以保护有罪): @H_301_2@: jmglov@laurana; host www.foo.com ;; connection timed out; no servers could be reached : jmglov@laurana; for ns in `grep -o '\([0-9]\+[.]\)\{3\}[0-9]\+$' /etc/resolv.conf`; do ping -qc 1 $ns; done PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. --- 192.168.1.1 ping statistics --- 1 packets transmitted,1 received,0% packet loss,time 0ms rtt min/avg/max/mdev = 10.911/10.911/10.911/0.000 ms PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. --- 192.168.1.2 ping statistics --- 1 packets transmitted,time 0ms rtt min/avg/max/mdev = 0.241/0.241/0.241/0.000 ms

所以我知道我的名字服务器是可以访问的,这意味着我的主机的权威名称服务器的委托路径中的某个名称服务器没有响应.有没有一种简单的方法来确定这是哪个名称服务器(基本上是DNS的traceroute)?

解决方法

这对你有用吗? @H_301_2@dig +trace google.com

从手册页:

+[no]trace Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled,dig makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers,showing the answer from each server that was used to resolve the lookup.

原文链接:https://www.f2er.com/html/229422.html

猜你在找的HTML相关文章