From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 19:18:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB5781065672 for ; Fri, 7 Nov 2008 19:18:02 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: from web56802.mail.re3.yahoo.com (web56802.mail.re3.yahoo.com [66.196.97.76]) by mx1.freebsd.org (Postfix) with SMTP id 9D4228FC1F for ; Fri, 7 Nov 2008 19:18:02 +0000 (UTC) (envelope-from mdh_lists@yahoo.com) Received: (qmail 95355 invoked by uid 60001); 7 Nov 2008 19:18:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=XXPYPzhC6PIdm4Qa+/BlfprkStRaIfDwEW+RXQzk6BN3JJHKfe0c40REvYnkm/TtzTd6AceTKbbfMrvKvaWf5K9MLC7Mie5rfiF88Y2E8qUGAANKGynFkVj4WwOwxQgwMARCpBUWMnbgKX1Se2IuxFTLraM294v7s8eFhhi9u5c=; X-YMail-OSG: ox_KKFgVM1nc8afGpb3ctvrWwgdkEzmV3Un6e_UnUVHMDi76GhotDfp6Hb97EDbwO9QktSL6asd8B.gzQfFFkzl_NvIMgTZmOVSSa8NtPWlP3czOz2eSMekOklm9z9yLTBu6 Received: from [71.61.220.126] by web56802.mail.re3.yahoo.com via HTTP; Fri, 07 Nov 2008 11:18:01 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 7 Nov 2008 11:18:01 -0800 (PST) From: mdh To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <602990.94226.qm@web56802.mail.re3.yahoo.com> Subject: host -6 failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mdh_lists@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 19:18:03 -0000 Howdy folks, I'm having a little trouble understanding a problem that the `host` command in RELENG_7_0 (very recent) is having. This is by and large my first time working with IPv6, which I've been meaning to learn for some time. First off, I've got my zone file configured to return a AAAA record for x1.mydomain and named isn't complaining. However, when I run `host -6 x1.mydomain`, host returns the following output: (root@rapier) [/etc/namedb]: host -6 x1.mydomain /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:127.0.0.1#53: Invalid argument /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:127.0.0.1#53: Invalid argument /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: internal_send: ::ffff:IP.IP.IP.8#53: Invalid argument ;; connection timed out; no servers could be reached IP.IP.IP.8 is my ISP's DNS server, and is a third option just in case the localhost DNS server crashes or goes batty while I'm out drinking or somesuch. Here's my resolv.conf, which shows ::1 listed as the second nameserver entry - however, it seems host -6 never even tries it. domain mydomain search mydomain nameserver 127.0.0.1 nameserver ::1 nameserver IP.IP.IP.8 The DNS server running on localhost is authoritative for mydomain. I can ping it via localhost using both v4 and v6, and I can also ping the external v4 and v6 addresses just fine remotely. As I said, I'm new to IPv6, but this behavior seems to be counterintuitive. Am I just doing it wrong? Thanks, Matt