windows添加固定域名解析

上一篇 / 下一篇  2014-05-09 11:18:08 / 个人分类:windows

进入C:\Windows\System32\drivers\etc,用记事本编辑hosts,可以看到:

# 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

按照上面的格式添加需要解析的域名,保存退出。


TAG:

 

评分:0

我来说两句

Open Toolbar