Debian Bug report logs - #505438
inconsistent return format in AAAA records

Package: libdns69; Maintainer for libdns69 is LaMont Jones <lamont@debian.org>;

Reported by: martin f krafft <madduck@debian.org>

Date: Wed, 12 Nov 2008 11:09:01 UTC

Severity: minor

Tags: ipv6, jessie, sid, squeeze, upstream, wheezy

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Pierre Habouzit <madcoder@debian.org>:
Bug#505438; Package nsd3. (Wed, 12 Nov 2008 11:09:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
New Bug report received and forwarded. Copy sent to Pierre Habouzit <madcoder@debian.org>. (Wed, 12 Nov 2008 11:09:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: inconsistent return format in AAAA records
Date: Wed, 12 Nov 2008 12:08:01 +0100
[Message part 1 (text/plain, inline)]
Package: nsd3
Version: 3.0.7-2
Severity: minor
Tags: ipv6 upstream

wall:~|master|% dig @::1 aaaa piper.oerlikon.madduck.net +short
2001:41e0:ff12:0:211:2fff:fe6b:c869
wall:~|master|% dig @::1 aaaa wall.oerlikon.madduck.net +short
2001:41e0:ff12::1

Note how the first uses :0: and the second uses :: instead. The data
file is consistent, however:

wall:~|master|% egrep '^(piper|wall).*AAAA' /etc/nsd3/oerlikon.madduck.net.zone
wall  86400 IN  AAAA    2001:41e0:ff12::1
piper 86400 IN  AAAA    2001:41e0:ff12::211:2fff:fe6b:c869

(pdns does the same: #500572; I could not find any information in
the RFCs or standards which would legitimate this.)

Cheers,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#505438; Package nsd3. (Thu, 15 Jan 2009 14:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Habouzit <madcoder@debian.org>:
Extra info received and forwarded to list. (Thu, 15 Jan 2009 14:54:05 GMT) Full text and rfc822 format available.

Message #10 received at submit@bugs.debian.org (full text, mbox):

From: Pierre Habouzit <madcoder@debian.org>
To: martin f krafft <madduck@debian.org>, 505438@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#505438: inconsistent return format in AAAA records
Date: Thu, 15 Jan 2009 15:52:32 +0100
[Message part 1 (text/plain, inline)]
On Wed, Nov 12, 2008 at 11:08:01AM +0000, martin f krafft wrote:
> Package: nsd3
> Version: 3.0.7-2
> Severity: minor
> Tags: ipv6 upstream
> 
> wall:~|master|% dig @::1 aaaa piper.oerlikon.madduck.net +short
> 2001:41e0:ff12:0:211:2fff:fe6b:c869
> wall:~|master|% dig @::1 aaaa wall.oerlikon.madduck.net +short
> 2001:41e0:ff12::1
> 
> Note how the first uses :0: and the second uses :: instead. The data
> file is consistent, however:
> 
> wall:~|master|% egrep '^(piper|wall).*AAAA' /etc/nsd3/oerlikon.madduck.net.zone
> wall  86400 IN  AAAA    2001:41e0:ff12::1
> piper 86400 IN  AAAA    2001:41e0:ff12::211:2fff:fe6b:c869
> 
> (pdns does the same: #500572; I could not find any information in
> the RFCs or standards which would legitimate this.)

FWIW I believe it's how the glibc formats it, and for all I care, I
don't really see how this is a bug :)

It's merely a minor formatting issue, and :0: is pretty equivalent to ::
here anyways.

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#505438; Package nsd3. (Thu, 15 Jan 2009 14:54:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Habouzit <madcoder@debian.org>:
Extra info received and forwarded to list. (Thu, 15 Jan 2009 14:54:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Pierre Habouzit <madcoder@debian.org>:
Bug#505438; Package nsd3. (Thu, 15 Jan 2009 21:21:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
Extra info received and forwarded to list. Copy sent to Pierre Habouzit <madcoder@debian.org>. (Thu, 15 Jan 2009 21:21:07 GMT) Full text and rfc822 format available.

Message #20 received at 505438@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Pierre Habouzit <madcoder@debian.org>
Cc: 505438@bugs.debian.org
Subject: Re: Bug#505438: inconsistent return format in AAAA records
Date: Fri, 16 Jan 2009 10:18:40 +1300
[Message part 1 (text/plain, inline)]
also sprach Pierre Habouzit <madcoder@debian.org> [2009.01.16.0352 +1300]:
> FWIW I believe it's how the glibc formats it, and for all I care, I
> don't really see how this is a bug :)
> 
> It's merely a minor formatting issue, and :0: is pretty equivalent to ::
> here anyways.

It does mean that it sometimes matches SSH known_hosts and sometimes
it doesn't, depending on which resolver you currently use. For
instance, if I am behind pdns_rescursor, I get consistent records
including :0:, but nsd3 returns :: or :0: arbitrarily, it seems.

Also see #500568.

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
officer, arrest that man! he's whistling a copyrighted song.
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#505438; Package nsd3. (Thu, 15 Jan 2009 22:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Habouzit <madcoder@debian.org>:
Extra info received and forwarded to list. (Thu, 15 Jan 2009 22:21:04 GMT) Full text and rfc822 format available.

Message #25 received at 505438@bugs.debian.org (full text, mbox):

From: Pierre Habouzit <madcoder@debian.org>
To: martin f krafft <madduck@debian.org>
Cc: 505438@bugs.debian.org
Subject: Re: Bug#505438: inconsistent return format in AAAA records
Date: Thu, 15 Jan 2009 23:19:36 +0100
[Message part 1 (text/plain, inline)]
On Thu, Jan 15, 2009 at 11:19:30PM +0000, martin f krafft wrote:
> also sprach Pierre Habouzit <madcoder@debian.org> [2009.01.16.0352 +1300]:
> > FWIW I believe it's how the glibc formats it, and for all I care, I
> > don't really see how this is a bug :)
> > 
> > It's merely a minor formatting issue, and :0: is pretty equivalent to ::
> > here anyways.
> 
> It does mean that it sometimes matches SSH known_hosts and sometimes
> it doesn't, depending on which resolver you currently use. For
> instance, if I am behind pdns_rescursor, I get consistent records
> including :0:, but nsd3 returns :: or :0: arbitrarily, it seems.

Well to me then it's an SSH bug. SSH should normalize IPs to match
stuff, really.


-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Pierre Habouzit <madcoder@debian.org>:
Bug#505438; Package nsd3. (Thu, 15 Jan 2009 22:42:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
Extra info received and forwarded to list. Copy sent to Pierre Habouzit <madcoder@debian.org>. (Thu, 15 Jan 2009 22:42:07 GMT) Full text and rfc822 format available.

Message #30 received at 505438@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Pierre Habouzit <madcoder@debian.org>
Cc: 505438@bugs.debian.org
Subject: Re: Bug#505438: inconsistent return format in AAAA records
Date: Fri, 16 Jan 2009 11:38:31 +1300
[Message part 1 (text/plain, inline)]
also sprach Pierre Habouzit <madcoder@debian.org> [2009.01.16.1119 +1300]:
> Well to me then it's an SSH bug. SSH should normalize IPs to match
> stuff, really.

Agreed. But nsd3 seems to do something different from other DNS
servers and it should not be modifying the AAAA records from what it
has available in the database. It does.

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"friendships last when each friend thinks he has
 a slight superiority over the other."
                                                   -- honoré de balzac
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Severity set to 'serious' from 'minor' Request was from Clint Adams <schizo@debian.org> to control@bugs.debian.org. (Tue, 23 Mar 2010 01:03:39 GMT) Full text and rfc822 format available.

Added tag(s) sid and squeeze. Request was from Gerfried Fuchs <rhonda@debian.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 07:51:48 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'serious' Request was from Gerfried Fuchs <rhonda@deb.at> to control@bugs.debian.org. (Tue, 23 Mar 2010 08:30:41 GMT) Full text and rfc822 format available.

Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:03:19 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Ondřej Surý <ondrej@debian.org>:
Bug#505438; Package nsd3. (Thu, 10 Mar 2011 14:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeroen Schot <schot@A-Eskwadraat.nl>:
Extra info received and forwarded to list. Copy sent to Ondřej Surý <ondrej@debian.org>. (Thu, 10 Mar 2011 14:00:03 GMT) Full text and rfc822 format available.

Message #43 received at 505438@bugs.debian.org (full text, mbox):

From: Jeroen Schot <schot@A-Eskwadraat.nl>
To: martin f krafft <madduck@debian.org>
Cc: 505438@bugs.debian.org
Subject: Re: inconsistent return format in AAAA records
Date: Thu, 10 Mar 2011 14:39:24 +0100
[Message part 1 (text/plain, inline)]
On Wed, Nov 12, 2008 at 12:08:01PM +0100, martin f krafft wrote:
> wall:~|master|% dig @::1 aaaa piper.oerlikon.madduck.net +short
> 2001:41e0:ff12:0:211:2fff:fe6b:c869
> wall:~|master|% dig @::1 aaaa wall.oerlikon.madduck.net +short
> 2001:41e0:ff12::1
> 
> Note how the first uses :0: and the second uses :: instead. The data
> file is consistent, however:
> 
> wall:~|master|% egrep '^(piper|wall).*AAAA' /etc/nsd3/oerlikon.madduck.net.zone
> wall  86400 IN  AAAA    2001:41e0:ff12::1
> piper 86400 IN  AAAA    2001:41e0:ff12::211:2fff:fe6b:c869
> 
> (pdns does the same: #500572; I could not find any information in
> the RFCs or standards which would legitimate this.)

I am pretty sure that this formating is a 'feature' of either dig or your libc
and is NOT a bug in nsd or pdns.

AAAA resource records are transmitted over the wire as 128 bit data in network
byte order, so it is impossible to even preserve the textual representation. See
RFC 3596 (http://tools.ietf.org/html/rfc3596).

This bug should be closed or reassigned to the program that does the local
inconsistent formatting.

Regards,
-- 
Jeroen Schot <schot@a-eskwadraat.nl>
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Ondřej Surý <ondrej@debian.org>:
Bug#505438; Package nsd3. (Mon, 14 Mar 2011 07:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
Extra info received and forwarded to list. Copy sent to Ondřej Surý <ondrej@debian.org>. (Mon, 14 Mar 2011 07:27:03 GMT) Full text and rfc822 format available.

Message #48 received at 505438@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Jeroen Schot <schot@A-Eskwadraat.nl>
Cc: 505438@bugs.debian.org
Subject: Re: inconsistent return format in AAAA records
Date: Mon, 14 Mar 2011 07:30:40 +0100
[Message part 1 (text/plain, inline)]
reassign 505438 libdns69
thanks

also sprach Jeroen Schot <schot@A-Eskwadraat.nl> [2011.03.10.1439 +0100]:
> I am pretty sure that this formating is a 'feature' of either dig or your libc
> and is NOT a bug in nsd or pdns.
> 
> AAAA resource records are transmitted over the wire as 128 bit data in network
> byte order, so it is impossible to even preserve the textual representation. See
> RFC 3596 (http://tools.ietf.org/html/rfc3596).

Indeed. All the tools I used are ISC clients and the problem is
indeed reproducible — it was silly of me to not identify this as
a problem of presentation.

I am reassigning to libdns69. I trust LaMont will fix this if my
guess was wrong.

Thanks,

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"when faced with a new problem, the wise algorithmist
 will first attempt to classify it as np-complete.
 this will avoid many tears and tantrums as
 algorithm after algorithm fails."
                                                          -- g. niruta
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Bug reassigned from package 'nsd3' to 'libdns69'. Request was from martin f krafft <madduck@debian.org> to control@bugs.debian.org. (Mon, 14 Mar 2011 07:27:06 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions nsd3/3.0.7-2. Request was from martin f krafft <madduck@debian.org> to control@bugs.debian.org. (Mon, 14 Mar 2011 07:27:07 GMT) Full text and rfc822 format available.

Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:34:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 25 08:09:12 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.