![名称服务器问题?](https://linux22.com/image/552084/%E5%90%8D%E7%A7%B0%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%97%AE%E9%A2%98%EF%BC%9F.png)
我在 active-domain.com 注册了一个域名,昨天我将名称服务器更改为我的主机,但后来我决定在最后一刻切换主机并再次更改它们。现在,大约 24 小时后,该网站仍会偶尔在旧主机上拉取该网站。如果我清除缓存并刷新 DNS,它通常会自行解决。我的网站的其他访问者也遇到了这种情况。有什么建议吗?
答案1
您的 TTL 设置为 24 小时:
iMac-van-Bart:~ ikbenbart$ dig comegetheated.com
; <<>> DiG 9.6.0-APPLE-P2 <<>> comegetheated.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40315
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 13
;; QUESTION SECTION:
;comegetheated.com. IN A
;; ANSWER SECTION:
comegetheated.com. 86330 IN A 212.95.48.105
;; AUTHORITY SECTION:
com. 82668 IN NS c.gtld-servers.net.
com. 82668 IN NS d.gtld-servers.net.
com. 82668 IN NS e.gtld-servers.net.
com. 82668 IN NS f.gtld-servers.net.
com. 82668 IN NS g.gtld-servers.net.
com. 82668 IN NS h.gtld-servers.net.
com. 82668 IN NS i.gtld-servers.net.
com. 82668 IN NS j.gtld-servers.net.
com. 82668 IN NS k.gtld-servers.net.
com. 82668 IN NS l.gtld-servers.net.
com. 82668 IN NS m.gtld-servers.net.
com. 82668 IN NS a.gtld-servers.net.
com. 82668 IN NS b.gtld-servers.net.
;; ADDITIONAL SECTION:
b.gtld-servers.net. 85051 IN A 192.33.14.30
b.gtld-servers.net. 18866 IN AAAA 2001:503:231d::2:30
c.gtld-servers.net. 29970 IN A 192.26.92.30
d.gtld-servers.net. 29666 IN A 192.31.80.30
e.gtld-servers.net. 30226 IN A 192.12.94.30
f.gtld-servers.net. 29971 IN A 192.35.51.30
g.gtld-servers.net. 2681 IN A 192.42.93.30
h.gtld-servers.net. 13633 IN A 192.54.112.30
i.gtld-servers.net. 30226 IN A 192.43.172.30
j.gtld-servers.net. 29951 IN A 192.48.79.30
k.gtld-servers.net. 30717 IN A 192.52.178.30
l.gtld-servers.net. 30225 IN A 192.41.162.30
m.gtld-servers.net. 29969 IN A 192.55.83.30
;; Query time: 4 msec
;; SERVER: 192.168.220.1#53(192.168.220.1)
;; WHEN: Fri Jun 10 15:22:07 2011
;; MSG SIZE rcvd: 495
您可能希望将其设置为较低的值(4 小时左右),以防止将来再次出现这种情况。但是现在您无能为力。只需等待 DNS 解析到期即可。