最近搞了個openWrt的路由器,可以配置酸酸乳,配置好之后,發現沒法正常的使用 Google,一想,可能是因為很早以前修改了系統的 hosts 文件,(當時這是使用 Google 的一種方法,后來用了小飛機啥的)。然后我去網上找了一段 hosts 的默認內容:
hosts文件路徑:C:\WINDOWS\system32\drivers\etc\hosts
以管理員身份運行記事本,再用記事本打開hosts文件才能保存。
我一般都用 notepad++ 編輯。
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
替換之后就可以自由的遨游了.
