看板: talk ◎ 大家来灌水    板主: magelinus/Masakiko
阅读文章: 第 7527/10336 篇 | 上篇 | 下篇 | 回覆 | 转寄 | 转贴 | m H d | 返回
作者: magelinus (巫师)
标题: 在windows底下绑定dns 对应 ip address的方法
时间: 2009年 5月27日 16:33:49 星期三

昨天和站务测试某个语音服务时,刚好站友提到一直无法连上cbs,但是
又可以连上其他BBS,给她cbs的数字ip後竟然可以连上。不过数字ip不
好辨识,可以直接在xp里面设定该数字ip对应至cbs.ntu.edu.tw。方式如下:

1.以文字编辑软体(用附属应用程式里面的记事本即可)打开
C:\WINDOWS\system32\drivers\etc\hosts
2.该hosts档案的内容如下:
--------------------------------------------------------------------
# Copyright (c) 1993-1999 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

127.0.0.1       localhost

------------------------------------------------------------------------
3.後末行新增加一行如下:

   140.112.28.185   cbs.ntu.edu.tw

4.收工。作业系统在连接文字网址(如cbs.ntu.edu.tw)时会先找hosts里面有没有
定义,有的话就直接沿用。直接将cbs的数字网址设定进去就不用担心以後dns出
问题噜。





--
    偶理想中的天堂:          1.每天晚上有小酒小酌一番  (换成红茶也可以)
                             2.每天晚上有两片烤鱼下巴  (换成腱子冬粉也可以)
                             3.每天晚上有奇怪内容的节目(换成鬼话连篇也可以 )
    偶理想中的老年生活:        在河港旁摆热呼呼的黑轮摊,客人可以喝杯清酒
    偶理想中变成老头子的模样:  就是樱桃爷爷那个样子, 有点呆呆的很可爱.
                             
--
※ Origin: 台大狮子吼佛学专站 <cbs.ntu.edu.tw> 
◆ From: !Hinet61.218
阅读文章: 第 7527/10336 篇 | 上篇 | 下篇 | 回覆 | 转寄 | 转贴 | m H d | 返回

□ 台大狮子吼佛学专站  http://buddhaspace.org