我无法通过运行 Windows 10 的笔记本电脑访问某个特定的健康相关网站。我在 Chrome 中收到的错误是:
This site can’t be reached
The webpage at http://www.apneaboard.com/forums/ might be temporarily down or it may have moved permanently to a new web address.
ERR_NAME_RESOLUTION_FAILED
我尝试过通过 3 种不同的浏览器访问该网站,但都没有成功。有趣的是,该网站可以通过同一网络上的其他设备(如手机和平板电脑)访问。如果我使用 VPN 并通过其他国家/地区连接,也可以在同一台笔记本电脑上访问该网站。该网站没有被禁止 - 可以在朋友的电脑上本地访问,也可以在网吧浏览。
我的 ISP 通过 NBN 连接为澳大利亚几百万人提供互联网服务,而且对我的路由器没有任何限制。
我该如何解决这个问题?
编辑:根据消息和答案,我更新了以下内容:1)ipconfig /flushdns 对此问题无效。该网站仍然无法访问 2)以下是该网站的 nslookup 结果。第一个没有 VPN,第二个有 VPN
C:\>nslookup apneaboard.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 2001:8003:a05b:1b00::1
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
C:\>nslookup apneaboard.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 2001:8003:a05b:1b00::1
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
3)通过 VPN 连接或关闭 ping 网站时会出现以下消息:
Ping request could not find host www.apneaboard.com. Please check the name and try again.
4)我的 wifi 连接的 DNS 设置已经是 google dns : IPv4 设置
已选择自动获取 IP 地址。首选 DNS 服务器为 8.8.8.8,备用 DNS 服务器为 8.8.4.4
这仍然让我困惑。该网站仍然可以通过 vpn 访问,而无法通过我的常规连接访问。还有其他故障排除步骤吗?
编辑 2:我的 hosts 文件中什么都没有。所有行都注释掉了。我尝试使用网站的 IP 地址(通过 vpn ping 获得) - 我看到的页面与访问时看到的页面相同http://IP连接到 vpn 时(这是一个抱歉 - 如果您是此网站的所有者,请联系您的托管提供商 - 页面),我尝试禁用 IPV6,但没有成功。禁用 ipv6 后仍可通过 vpn 工作。除了从 n/w 属性中取消选中它之外,我还下载并使用了微软解决方案来禁用 ipv6,以确保万无一失。以下是 nslookup -d2 输出:
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Users\>nslookup -d2 www.apneaboard.com
------------
SendRequest(), len 38
HEADER:
opcode = QUERY, id = 1, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
8.8.8.8.in-addr.arpa, type = PTR, class = IN
------------
------------
Got answer (82 bytes):
HEADER:
opcode = QUERY, id = 1, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 0, additional = 0
QUESTIONS:
8.8.8.8.in-addr.arpa, type = PTR, class = IN
ANSWERS:
-> 8.8.8.8.in-addr.arpa
type = PTR, class = IN, dlen = 32
name = google-public-dns-a.google.com
ttl = 86399 (23 hours 59 mins 59 secs)
------------
Server: google-public-dns-a.google.com
Address: 8.8.8.8
------------
SendRequest(), len 44
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.apneaboard.com.gateway, type = A, class = IN
------------
------------
Got answer (119 bytes):
HEADER:
opcode = QUERY, id = 2, rcode = NXDOMAIN
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
www.apneaboard.com.gateway, type = A, class = IN
AUTHORITY RECORDS:
-> (root)
type = SOA, class = IN, dlen = 64
ttl = 86397 (23 hours 59 mins 57 secs)
primary name server = a.root-servers.net
responsible mail addr = nstld.verisign-grs.com
serial = 2017042400
refresh = 1800 (30 mins)
retry = 900 (15 mins)
expire = 604800 (7 days)
default TTL = 86400 (1 day)
------------
------------
SendRequest(), len 44
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.apneaboard.com.gateway, type = AAAA, class = IN
------------
------------
Got answer (119 bytes):
HEADER:
opcode = QUERY, id = 3, rcode = NXDOMAIN
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
www.apneaboard.com.gateway, type = AAAA, class = IN
AUTHORITY RECORDS:
-> (root)
type = SOA, class = IN, dlen = 64
ttl = 86396 (23 hours 59 mins 56 secs)
primary name server = a.root-servers.net
responsible mail addr = nstld.verisign-grs.com
serial = 2017042400
refresh = 1800 (30 mins)
retry = 900 (15 mins)
expire = 604800 (7 days)
default TTL = 86400 (1 day)
------------
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 4, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.apneaboard.com, type = A, class = IN
------------
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
SendRequest failed
------------
SendRequest(), len 36
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
www.apneaboard.com, type = AAAA, class = IN
------------
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
SendRequest failed
*** Request to google-public-dns-a.google.com timed-out
答案1
有时ISP 出现问题,导致无法路由。
让我们排除那些极其基本的问题——ipconfig /flushdns
应该刷新 PC 的 DNS 缓存。
nslookup 为我带来了
Server: UnKnown
Address: 2404:e800:103:3::68
Non-authoritative answer:
Name: apneaboard.com
Address: 104.193.110.187
Aliases: www.apneaboard.com
有两个明显的地方可能会出现问题 - 如果你的 nslookup 失败,那肯定是 DNS 的问题。如果这样有效
我将开始对 IP 和域名运行 traceroute 或 pathping(Pathping 很酷!)。
不过,此时你知道问题出在哪里,但很可能是 ISP 必须修复它。我曾经有一个网站无法访问 2-3 个月,然后突然恢复正常。
答案2
错误指向 DNS。但是,网络上的其他设备没有问题,这意味着问题出在机器上。我会尝试从命令提示符运行:
ipconfig /flushdns
ping apneaboard.com
nslookup apneaboard.com
如果 nslookup 成功(类似于 @Journeyman 的输出)但 ping 失败或找到不同的地址,则某些本地名称解析正在干扰。可能是:
- 某事
%systemroot%\drivers\etc\hosts
- 一些本地 LSP 做了一些奇怪的事情 - 运行
netsh winsock show catalog
,将输出与正在运行的机器的输出进行比较,也许你会找到罪魁祸首。