[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296204: marked as done (libc6: NSS resolving behavior for IPv6 wrong or should be configurable)



Your message dated Mon, 11 Jul 2005 14:43:19 -0400 (EDT)
with message-id <Pine.BSO.4.58.0507111434560.19039@grex.cyberspace.org>
and subject line too old and merged
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 21 Feb 2005 00:20:13 +0000
>From i@lri.fr Sun Feb 20 16:20:13 2005
Return-path: <i@lri.fr>
Received: from nas-cbv-9-62-147-113-168.dial.proxad.net (slartibartfast.qult.net) [62.147.113.168] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D31J6-0002sK-00; Sun, 20 Feb 2005 16:20:13 -0800
Received: from zenon.in.qult.net ([192.168.0.1])
	by slartibartfast.qult.net with esmtp (Exim 4.34)
	id 1D31J3-0006kT-3A
	for submit@bugs.debian.org; Mon, 21 Feb 2005 01:20:09 +0100
Received: from ig by zenon.in.qult.net with local (Exim 4.44)
	id 1D31J2-0000FR-OU
	for submit@bugs.debian.org; Mon, 21 Feb 2005 01:20:08 +0100
Date: Mon, 21 Feb 2005 01:20:08 +0100
From: Ignacy Gawedzki <i@lri.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: NSS resolving behavior for IPv6 wrong or should be configurable
Message-ID: <20050221002008.GA30713@zenon.in.qult.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
X-SA-Exim-Connect-IP: 192.168.0.1
X-SA-Exim-Mail-From: i@lri.fr
X-SA-Exim-Scanned: No (on slartibartfast.qult.net); SAEximRunCond expanded to false
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libc6
Version: 2.3.2.ds1-20
Severity: normal


It appears that if the DNS has an A record for a domain but no AAAA record and
we asked (gethostbyname, getaddrinfo, etc) for an IPv6 address, the resolver
is not satisfied and continues to resolve the name using other domains from
the search list in resolv.conf or the name alone.

For example suppose that /etc/resolv.conf includes the following domain search
list:

  search foo.com bar.org

Now if I ask to resolve "somehost" for an IPv6 address and that the DNS has an
A record for somehost.foo.com, but no AAAA record, then the following happens:

  1. The resolver asks the DNS for an AAAA record for domain somehost.foo.com
  and the DNS replies that it has no such record, but the domain is known.

  2. The resolver asks the DNS for an AAAA record for domain somehost.bar.org
  and the DNS replies that it has no such record and that the domain is not
  known (NXDOMAIN).

  3. The resolver asks the DNS for a recursive search of an AAAA record for
  domain somehost. and then the DNS performs the search (and hopefully fails).

While this behavior could have its legitimate explanation (we would like to
completely separate the IPv4 and IPv6 resolution spaces), I think that the
behavior should be configurable.  I would like to be able to make resolutions
for AAAA records stop as soon as an A record (but no AAAA record) exists for
the given domain ("yes somehost exists, but has no associated IPv6 address").

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information

-- 
Sex on TV doesn't hurt....unless you fall off.

---------------------------------------
Received: (at 109931-done) by bugs.debian.org; 11 Jul 2005 18:40:29 +0000
>From dajo@cyberspace.org Mon Jul 11 11:40:29 2005
Return-path: <dajo@cyberspace.org>
Received: from grex.cyberspace.org [216.86.77.194] (exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ds3Cf-0004Ww-00; Mon, 11 Jul 2005 11:40:29 -0700
Received: from dajo (helo=localhost)
	by grex.cyberspace.org with local-esmtp (Exim 4.42)
	id 1Ds3FP-0000YK-6i; Mon, 11 Jul 2005 14:43:19 -0400
Date: Mon, 11 Jul 2005 14:43:19 -0400 (EDT)
From: Daniel Jonan <dajo@grex.cyberspace.org>
To: 26306-done@bugs.debian.org, 6798-done@bugs.debian.org, 
    159781-done@bugs.debian.org, 109931-done@bugs.debian.org
cc: 76251-done@bugs.debian.org, 89323-done@bugs.debian.org, 
    11147-done@bugs.debian.org
Subject: too old and merged
Message-ID: <Pine.BSO.4.58.0507111434560.19039@grex.cyberspace.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Daniel Jonan <dajo@cyberspace.org>
Delivered-To: 109931-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

closing



Reply to: