Re: [問題] 某些DNS 在 FreeBSD下 無法解析名稱
※ 引述《litjoejoe.bbs@ptt.cc (joejoe)》之銘言:
> ※ 引述《GaryJuang (宅魔)》之銘言:
> : ping 不到跟icmp有關係,跟nslookup沒關係.
> : icmp 關閉就會ping不到,nslookup 是訪問 port 53 的service.
> 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
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: 61-63-0-host123.kbtelecom.net.tw
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 10 之 16 篇):