当我通过.com**
顶级域名注册处的网站查询我的DNS服务器时,我可以看到我的DNS服务器找到了:
Query
Domain: example**.com**
Answer:
Following name-servers have been defined in **NIC DNS for your domain:
1. ns.example**.com**
IP addresses defined for NS servers in **NIC DNS (glue records):
1. ns.example**.com**. *4.*41.2*.1*4
Name Server: "ns.example**.com**"
List of defined name-servers in this name server is SYNC with the list of name-servers which has been defined in **NIC name-server.
List of name-server from this server:
1. ns.example**.com**
SOA detail from this server:
localhost. root.localhost. (
2021053002 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum TTL
但在任何网络上,网络浏览器都无法通过example**.com**
地址显示我的网站。
我有哪些选项可以调试我的 DNS 服务器?谢谢!
更新
我可以通过 SSH 连接到服务器并运行以下命令:
user@localhost:~> nslookup example**.com** 8*.*41.*3.1*4
;; connection timed out; no servers could be reached
还有这个命令:
user@localhost:~> nslookup example**.com**
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
*** Can't find example**.com**: No answer
服务器操作系统是 openSUSE Tumbleweed 32 位,其 DNS 服务器已由 YAST2 配置。看一下
/etc/named.conf
表示named
工作目录:还
/etc/named.conf
指示相对于工作目录的区域文件:前
/var/lib/named/master/example.comXX
内容是:后
/var/lib/named/master/example.comXX
根据此处的示例修改内容:https://ubuntu.com/server/docs/service-domain-name-service-dns
修改后的新
/var/lib/named/master/example.comXX
内容是:经过
/var/lib/named/master/example.comXX
上面的修改,现在可以通过地址浏览网站了。