Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 12:48:07 GMT
From:      Piotr Kucharski <chopin@sgh.waw.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/81465: resolver is not working properly when INET6 is not in kernel and nameserver is dual
Message-ID:  <200505251248.j4PCm7YN008102@www.freebsd.org>
Resent-Message-ID: <200505251250.j4PCo1l9086082@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505251248.j4PCm7YN008102>