我的一位朋友在家里的笔记本电脑中更改了一些网络配置,他说他尝试了一些与阻止网站相关的事情(他用 www.google.com 进行了测试)。现在www.google.com
无法加载。连他现在都没有办法。
现在每次当我www.google.com
在 chrome 浏览器中尝试时,它说无法连接到 www.google.com,即使使用不同的浏览器我也尝试过,但结果相同。但其他域名没有问题。
取而代之的域名我使用的IP地址的www.google.com
,那个时候的加载
但是在其他谷歌网站上没问题,比如 www.google.co.in 、 www.google.co.uk 、 www.gmail.com ,
我想问题出在 dns 设置中。但我不熟悉网络。
Details of file /etc/hosts
127.0.0.1 localhost
127.0.1.1 karthi-Vostro-1550
192.168.1.1 www.google.com
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
**this is the result of nslookup**
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: www.google.com
Address: 74.125.236.180
Name: www.google.com
Address: 74.125.236.178
Name: www.google.com
Address: 74.125.236.177
Name: www.google.com
Address: 74.125.236.179
Name: www.google.com
Address: 74.125.236.176
Run Code Online (Sandbox Code Playgroud)
Ping www.google.com 的结果 - 100% 丢包
我的朋友改变了我家的配置。现在我在上大学。同样的问题也发生在我的大学里。但有区别
在家里 当我进入一个启用了 google adsense 的网站时,google chrome 会询问用户名和密码。但即使该页面正在加载。
在大学 Chrome 不要求任何用户名或密码。但是 www.google.com 没有加载
如果需要任何进一步的细节,我愿意提供
您的朋友增加了一个映射www.google.com
到/etc/hosts
这点,对应于私有IPv4网络地址空间的IP地址192.168.0.0/16
CIDR块。此块已由IANA保留用于专用网络,通常用于家庭、办公室和企业 LAN,当不需要或不可用全局可路由地址时。中的映射/etc/hosts
会覆盖常规 DNS 查找,除非碰巧192.168.1.1
在本地网络上有具有 IP 地址的主机,否则该地址未被使用。
要纠正这种情况,请从 中删除以下行/etc/hosts
:
192.168.1.1 www.google.com
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1187 次 |
最近记录: |