我有一个在 Ubuntu 18.10 和 apache 2.4 上运行的网站,使用 Letsencrypt 注册了 SSL 证书,并且我的托管 DNS 管理部分中为我的域(www.shaheer.ga)正确配置了我的 DNS 记录。
两天前,我的ISP将默认DNS服务器更改为ClouDNS(10.20.30.40)。
此后,我的网站在默认设置下停止工作,现在需要用户将其默认 DNS 更改为另一个 DNS,例如 (8.8.8.8 或 1.1.1.1)。如果用户这样做,我的网站将重新开始工作。
该问题出现在两条错误消息中:
1- 在 Chrome (Android) 上:无法访问此站点 ERR_CONNECTION_REFUED
2- 在 Chrome (Windows) 上:无法访问此站点 DNS_PROBE_FINISHED_NXDOMAIN
nslookup -debug 命令显示:
C:\Users\Alaa>nslookup -debug shaheer.ga
------------
Got answer:
HEADER:
opcode = QUERY, id = 1, rcode = NXDOMAIN
header flags: response, auth. answer, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
40.30.20.10.in-addr.arpa, type = PTR, class = IN
AUTHORITY RECORDS:
-> 10.IN-ADDR.ARPA
ttl = 86400 (1 day)
primary name server = 10.IN-ADDR.ARPA
responsible mail addr = (root)
serial = 0
refresh = 28800 (8 hours)
retry = 7200 (2 hours)
expire = 604800 (7 days)
default TTL = 86400 (1 day)
------------
Server: UnKnown
Address: 10.20.30.40
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
*** Request to UnKnown timed-out
我已经尝试在 ClouDNS 上为我的域名创建 DNS 区域,但这没有帮助
你知道为什么会发生这种情况吗?
谢谢。