FreeBSD QandA 1150

FreeBSD QandA

Q. Squid を通して istsv_cba2.xxx.xxx.co.jp という host 名を含む URI に
   アクセスすると、
     The following error was encountered: 
     DNS name lookup failure 
     The system returned: 
   というエラーがでてしまいます。なぜでしょうか。

A. DNS のドメイン名として使えるのは、アルファベット、数字とハイフンだ
   けです。

   RFC 952 " DOD INTERNET HOST TABLE SPECIFICATION" には
      1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
      to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
      sign (-), and period (.).  Note that periods are only allowed when
      they serve to delimit components of "domain style names". (See
   とあります。

   squid や最近の bind 等のように domain name を厳格に扱うソフトウェアで
   は、underscore など不正な文字を含むホスト名は拒否されます。

間違い・追加情報を見付けた場合は、 修正案の投稿のしかた を読んだ上で、
QandA@jp.FreeBSD.org まで お知らせください。