V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
twilight
V2EX  ›  问与答

hosts 文件会被劫持么? 自己修改 hosts,只要是某个特定 IP,就解析不了。

  •  
  •   twilight · 2017-09-12 09:45:35 +08:00 · 3454 次点击
    这是一个创建于 2390 天前的主题,其中的信息可能已经有所发展或是发生改变。
    自己在 hosts 文件中加入一行

    243.185.187.39 www.example.com

    ping www.example.com

    提示:

    Ping request could not find host www.example.com

    好像和 243.185.187.39 有关系,随便写个 IP,比如:

    在 hosts 中加入这样一行

    218.93.127.136 www.example.com

    就可以解析。

    ==========================================
    操作系统是 win8.1 64bit 中文旗舰版,求指点,多谢。
    第 1 条附言  ·  2017-09-12 10:29:34 +08:00
    大家帮忙查下:

    nslookup www.cchere.com

    看返回的 IP 地址是多少。
    10 条回复    2017-09-12 10:40:43 +08:00
    imn1
        1
    imn1  
       2017-09-12 09:52:37 +08:00   ❤️ 1
    你故意的吧?!
    这么多 ip 你非要写 243.185.187.39 ?
    invoke
        2
    invoke  
       2017-09-12 09:55:16 +08:00
    楼上+1 你故意的吧。。
    twilight
        3
    twilight  
    OP
       2017-09-12 10:17:34 +08:00
    @imn1
    @invoke

    这个 IP 地址有什么问题么?是我常访问的一个论坛的地址。

    我现在用 8.8.8.8 做为 DNS,解析不了。但 nslookup 能查询到,不知道我的电脑是不是中什么招了。

    nslookup 显示这个论坛的地址是 243.185.187.39
    ohmyga
        4
    ohmyga  
       2017-09-12 10:21:06 +08:00   ❤️ 1
    243.0.0.0 保留地址
    Sh888
        5
    Sh888  
       2017-09-12 10:22:47 +08:00   ❤️ 2
    @twilight
    240.0.0.0/4 保留(之前的 E 类网络) RFC 1700
    twilight
        6
    twilight  
    OP
       2017-09-12 10:28:38 +08:00
    @ohmyga
    不会吧。用 nslookup 查到的就是这个地址啊
    imn1
        7
    imn1  
       2017-09-12 10:30:31 +08:00   ❤️ 1
    @twilight
    243.185.187.39 是你常访问的一个论坛的地址?

    应该是是很多论坛的“地址”才对
    在大陆,访问不可数很多的网站(不仅限于论坛)都会返回这个地址
    twilight
        8
    twilight  
    OP
       2017-09-12 10:30:48 +08:00
    @Sh888 多谢指点,第一次听说,以前只知道 a , b , c 三类保留地址。
    twilight
        9
    twilight  
    OP
       2017-09-12 10:32:10 +08:00
    @imn1 我是真不知道啊。学习了。

    我是通过香港的服务器访问这个论坛。香港的服务器上用

    nslookup www.cchere.com

    也是返回的这个地址。
    twilight
        10
    twilight  
    OP
       2017-09-12 10:40:43 +08:00
    搞错了,乌龙,上错服务器了。

    上香港的服务器上 nslookup 查到了正确的 ip 地址了。199.193.116.142

    结帖,感谢 @ohmyga @imn1 @Sh888,学习到新的 IP 保留地址。

    不得不说 243.185.187.39 比较有迷惑性。很像一个正常的地址
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5390 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:02 · PVG 15:02 · LAX 00:02 · JFK 03:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.