由于某种原因,即使使用 Google 或 Cloudflare 的公共 DNS,我的 Mac 也无法解析discord.com
,但其他一切都正常。
❯ nslookup discord.com 8.8.8.8
;; connection timed out; no servers could be reached
❯ nslookup discord.com 1.1.1.1
;; connection timed out; no servers could be reached
❯ nslookup google.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: google.com
Address: 216.58.200.238
dig
我的所有浏览器都出现同样的问题。我刚刚检查了一下https://downforeveryoneorjustme.com/discord.com并且说只有我一个人遇到问题。到目前为止,这discord.com
是唯一一个有问题的域。甚至都discordapp.com
解决了。我检查过了,/etc/hosts
但没有什么奇怪的。还有什么问题?
编辑:
我的/etc/resolv.conf
样子是:
#
# macOS Notice
#
# This file is not consulted for DNS hostname resolution, address
# resolution, or the DNS query routing mechanism used by most
# processes on this system.
#
# To view the DNS configuration used by this system, use:
# scutil --dns
#
# SEE ALSO
# dns-sd(1), scutil(8)
#
# This file is automatically generated.
#
nameserver 8.8.8.8
nameserver 8.8.4.4
答案1
与另一个 ISP 进行检查(例如共享移动连接),看起来 discord 已被阻止。
您还可以尝试启用加密 DNS(macOS/iOS 的配置文件可在此处获得:https://github.com/paulmillr/encrypted-dns)