当我执行“dig @mynameserver 主机名”时,我的 dns 可以工作。但当我执行“挖掘主机名”时则不然

发布于 2024-09-10 20:11:07 字数 235 浏览 2 评论 0原文

我的域名服务器无法正常工作,我不明白为什么。

当我执行“whois cfconsulting.ca”时,它会显示正确的名称服务器,其中 ns1.signupsystems.com 是主要的。如果您执行“dig @ns1.signupsystems.com cfconsulting.ca”,您将获得正确的 IP。

但如果你只是执行“nslookup cfconsulting.ca”,它就会失败。

我很困惑。

My nameserver isn't working properly, and I can't figure out why.

When I do a 'whois cfconsulting.ca', it shows the correct nameservers, with ns1.signupsystems.com being the primary. If you do a "dig @ns1.signupsystems.com cfconsulting.ca" you get the right IP.

But if you just do an 'nslookup cfconsulting.ca' it fails.

I'm baffled.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

书间行客 2024-09-17 20:11:07

如果您使用的是 UNIX(而不是 Windows)系统,则 /etc/resolv.conf 中可能没有适当的服务器。 Dig 有许多到 Windows 的端口;如果使用 Windows,请 RTFM(或者,如果需要,UTSL)查看他们如何获取默认服务器。

You probably don't have the appropriate server in /etc/resolv.conf if you're using a UNIX (as opposed to a Windows) system. There are numerous ports of Dig to Windows; if using Windows please RTFM (or, if needed, UTSL) to see how they get their default servers.

宛菡 2024-09-17 20:11:07

您可能希望阅读该报告:

http://www.dnsvalidation.com/reports/4d2458e07d79ee0c8b00000a

您的辅助域名服务器 (ns2.signupsystems.com) 未响应有关域 cfconsulting.ca 的 DNS 查询,可能是域名服务器配置错误(检查区域配置和 ACL)或防火墙问题(允许 UDP 数据包发送到端口 53):

[vitalie@silver ~]$ dig @ns2.signupsystems.com cfconsulting.ca

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @ns2.signupsystems.com cfconsulting.ca
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached

名称服务器似乎在线,ns2.signupsystems.com 正在响应 ping 请求:

[vitalie@silver ~]$ ping -c 3 ns2.signupsystems.com
PING ns2.signupsystems.com (69.31.163.69) 56(84) bytes of data.
64 bytes from 69.31.163.69: icmp_seq=1 ttl=53 time=222 ms
64 bytes from 69.31.163.69: icmp_seq=2 ttl=53 time=218 ms
64 bytes from 69.31.163.69: icmp_seq=3 ttl=53 time=212 ms

--- ns2.signupsystems.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 212.463/217.812/222.049/4.028 ms

You may wish to read the report:

http://www.dnsvalidation.com/reports/4d2458e07d79ee0c8b00000a

Your secondary nameserver (ns2.signupsystems.com) is not responding to DNS queries regarding domain cfconsulting.ca, it may be a nameserver misconfiguration (check zone configuration and ACLs) or a firewall issue (allow UDP packets to port 53) :

[vitalie@silver ~]$ dig @ns2.signupsystems.com cfconsulting.ca

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> @ns2.signupsystems.com cfconsulting.ca
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached

Nameserver seems to be online, ns2.signupsystems.com is responding to ping requests:

[vitalie@silver ~]$ ping -c 3 ns2.signupsystems.com
PING ns2.signupsystems.com (69.31.163.69) 56(84) bytes of data.
64 bytes from 69.31.163.69: icmp_seq=1 ttl=53 time=222 ms
64 bytes from 69.31.163.69: icmp_seq=2 ttl=53 time=218 ms
64 bytes from 69.31.163.69: icmp_seq=3 ttl=53 time=212 ms

--- ns2.signupsystems.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 212.463/217.812/222.049/4.028 ms
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文