From owner-freebsd-net@FreeBSD.ORG Sat Oct 11 14:47:13 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBEE816A4B3 for ; Sat, 11 Oct 2003 14:47:13 -0700 (PDT) Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE0F843FA3 for ; Sat, 11 Oct 2003 14:47:12 -0700 (PDT) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id 6FFA676 for ; Sun, 12 Oct 2003 06:47:12 +0900 (JST) Received: from 127.0.0.1 (localhost.home.utahime.org [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with SMTP id 4592854AC; Sun, 12 Oct 2003 06:47:12 +0900 (JST) Received: from localhost (eastasia.home.utahime.org [192.168.174.1]) by eastasia.home.utahime.org (Postfix) with ESMTP id 1A01354AA; Sun, 12 Oct 2003 06:47:12 +0900 (JST) Date: Sun, 12 Oct 2003 06:47:10 +0900 (JST) Message-Id: <20031012.064710.49662944.yasu@utahime.org> To: freebsd-net@freebsd.org From: KIMURA Yasuhiro Organization: Utahime no Mori X-Mailer: Mew version 4.0.60 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: DNS lookup failure by host or dig X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 21:47:13 -0000 I found DNS lookup by host or dig fails if (1) kernel is built without "options INET6" and (2) DNS server has both v4 and v6 address. % host -t ns kame.net kame.net name server orange.kame.net kame.net name server ns1.itojun.org % host orange.kame.net orange.kame.net has address 203.178.141.194 orange.kame.net has address 2001:200:0:8002:203:47ff:fea5:3085 % host orange.kame.net orange.kame.net Using domain server: Name: orange.kame.net Addresses: 2001:200:0:8002:203:47ff:fea5:3085 203.178.141.194 Host not found, try again. % dig @orange.kame.net orange.kame.net ; <<>> DiG 8.3 <<>> @orange.kame.net orange.kame.net ; (2 servers found) ;; res options: init recurs defnam dnsrch ;; res_nsend to server orange.kame.net 2001:200:0:8002:203:47ff:fea5:3085: Protocol not supported % This happens on both 4.8R and 5.1R. What's wrong with this failure? Bug of FreeBSD or any configuration error of my machines? --- KIMURA Yasuhiro Mail: yasu@utahime.org WWW: http://www.utahime.org/