作者litjoejoe (joejoe)
看板FreeBSD
标题Re: [问题] 某些DNS 在 FreeBSD下 无法解析名称
时间Tue Mar 27 09:22:27 2007
※ 引述《[email protected] (淡)》之铭言:
: ※ 引述《[email protected] (joejoe)》之铭言:
: > icmp 应该是 解析到 IP 後 才会用到吧
: > 但是 目前的状况是 解析不到IP
: Yes, 你可以参考看看
: http://news.ee.nthu.edu.tw/gmore?bsd&F0Q1H6E9&54
: 不好意思,之前没注意到 filiaslayers 所提到的部分,『_』的确会产生问题
: From RFC 1034:
: The labels must follow the rules for ARPANET host names. They must
: start with a letter, end with a letter or digit, and have as interior
: characters only letters, digits, and hyphen.
: 目前 FreeBSD 的 nslookup 是直接采用 BIND 所附的版本
: 而 ping(/usr/src/sbin/ping) 的则是不同方式 gethostbyname2(3)
: == Ref ==
: RFC 1034
: MS版 ping http://research.microsoft.com/invisible/src/games/ping/ping.c.htm
恩 看起来是这个问题
而且蛮常见的...
所以必须想办法解决这个问题
因为今天使用者又反映了一个
stncenter.ets.org
也是一样
-root-:nslookup stncenter.ets.org
stncenter.ets.org canonical name = stncenter_vip.ets.org.
Name: stncenter_vip.ets.org
Address: 144.81.87.110
但是 我要怎麽
在 /etc/resolv.conf to tell the resolver to allow "_".
文中视乎没提到....
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.138.32.31