From owner-freebsd-bugs@FreeBSD.ORG Wed May 25 12:50:02 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4265516A41C for ; Wed, 25 May 2005 12:50:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 933BD43D54 for ; Wed, 25 May 2005 12:50:01 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4PCo1nJ086083 for ; Wed, 25 May 2005 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4PCo1l9086082; Wed, 25 May 2005 12:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 25 May 2005 12:50:01 GMT Resent-Message-Id: <200505251250.j4PCo1l9086082@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Piotr Kucharski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81BB816A41F for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/81465: resolver is not working properly when INET6 is not in kernel and nameserver is dual X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 12:50:02 -0000 >Number: 81465 >Category: misc >Synopsis: resolver is not working properly when INET6 is not in kernel and nameserver is dual >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 25 12:50:01 GMT 2005 >Closed-Date: >Last-Modified: >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: >Unformatted: