故障排除-无法访问单个网站


4

我无法从运行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 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:我的主机文件中绝对没有任何内容。所有行都被注释掉了,我尝试使用该站点的IP地址(我是通过vpn通过ping获得的- 在连接到vpn 时访问http:// IP时,我看到的页面与该页面相同(很抱歉-如果您是该网站的所有者,请联系您的主机提供商-页面)我尝试禁用IPV6,但没有运气。当禁用ipv6时,它仍然可以通过vpn起作用。我还下载并使用了Microsoft解决方案来仅禁用ipv6可以肯定的是,除了从n / w属性中取消选中它之外,以下是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
尝试使用和不使用VPN都在地址上进行nslookup。
MikaelKjær17年

在完成MikaelKjaer的建议之后,尝试将通过VPN获得的IP地址加载到浏览器中,但不在 VPN 外部
MariusMatutiae

2
尝试使用Google的DNS,而不是ISP的DNS。遵循howtogeek指示,仅更改DNS并将“获取IP”保留为“自动”。(使用相同的DNS数字(8.8.8.8&8.8.4.4) howtogeek.com/howto/19249/...
iSR5

那你的/ etc / HOSTS文件呢?是否阻止了该特定站点?
维杰

禁用IPv6后,您能看到什么吗?看来您的计算机正在使用IPv6分辨率并且出现故障。我的猜测是您的其他设备正在使用IPv4访问该站点(并且您的VPN仅配置了IPv4)。
lungj

Answers:


2

有时 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。如果可行

我将开始运行Traceroute或路径到IP和域名(路径很酷!)。

尽管在这一点上,您知道发生了什么问题,但很有可能是必须对其进行修复的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,将输出与工作机器的输出进行比较,也许您会找到罪魁祸首。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.