From nobody@FreeBSD.org  Wed May 25 12:48:08 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 81BB816A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 May 2005 12:48:08 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5D8C943D48
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 May 2005 12:48:08 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4PCm7Ee008104
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 25 May 2005 12:48:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j4PCm7YN008102;
	Wed, 25 May 2005 12:48:07 GMT
	(envelope-from nobody)
Message-Id: <200505251248.j4PCm7YN008102@www.freebsd.org>
Date: Wed, 25 May 2005 12:48:07 GMT
From: Piotr Kucharski <chopin@sgh.waw.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: resolver is not working properly when INET6 is not in kernel and nameserver is dual
X-Send-Pr-Version: www-2.3

>Number:         81465
>Category:       bin
>Synopsis:       /bin/host: resolver is not working properly when INET6 is not in kernel and nameserver is dual
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 25 12:50:01 GMT 2005
>Closed-Date:    Wed Mar 25 18:26:55 UTC 2009
>Last-Modified:  Wed Mar 25 18:26:55 UTC 2009
>Originator:     Piotr Kucharski
>Release:        4.11-RELEASE-p8
>Organization:
Szkola Glowna Handlowa
>Environment:
FreeBSD alternator.sgh.waw.pl 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #5: Mon May  9 16:26:44 CEST 2005     root@alternator.sgh.waw.pl:/usr/obj/usr/src/sys/ALTERNATOR  i386
      
>Description:
kernel has INET6 commented out, thus no ipv6 support, yet:
host -d -v -t ns sgh.waw.pl. dns.nask.pl.
Using domain server:
Name: a.nask.pl
Addresses: 2001:a10:1:1::44 195.187.245.44

;; res_nmkquery(QUERY, sgh.waw.pl, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30947
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;;      sgh.waw.pl, type = NS, class = IN
;; Querying server (# 1) address = 2001:a10:1:1::44
res_send: socket(dg): Protocol not supported
res_nsend failed
Host not found, try again.

resolver should not even see that "dns.nask.pl" has ipv6 address, not mentioning trying it, but even if it tries it, why it does not continue to ask v4 (which of course works)?
>How-To-Repeat:
undefine INET6 from kernel config      
>Fix:
not a fix, but a workaround: define INET6 in kernel config
fix would need to be done in sources
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Wed Mar 25 17:05:02 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81465 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Mar 25 18:25:36 UTC 2009 
State-Changed-Why:  

FreeBSD 4 is well past End of Life, and this bug should no longer 
be present in modern versions of BIND, or the OS.  

If you are still experiencing this issue with FreeBSD 6 or newer 
please feel free to file a new PR. 


Regards, 

Doug 


Responsible-Changed-From-To: freebsd-net->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Mar 25 18:25:36 UTC 2009 
Responsible-Changed-Why:  

host(1) is part of BIND 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81465 
>Unformatted:
