Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47708 - bind-tools 9.2.3-r1 breaks ipv6 reverse for dig and host
Summary: bind-tools 9.2.3-r1 breaks ipv6 reverse for dig and host
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: The ipv6 Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 08:11 UTC by Guy Martin (RETIRED)
Modified: 2004-06-21 11:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin (RETIRED) gentoo-dev 2004-04-13 08:11:04 UTC
dig and host want to resolve in a nibble format with .ip6.arpa (which is incorrect) instead of .ip6.int even if you don't specify -n.

bind-tools 9.2.2 is unafected by this bug.
the following behaviours are reproducibles on all my box :

Correct behaviour (v 9.2.2) :
# dig -x 2001:6f8:204:20::1
;; QUESTION SECTION:
;\[x200106F8020400200000000000000001/128].ip6.arpa. IN PTR

# dig -n -x 2001:6f8:204:20::1 
;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int. IN PTR
;; ANSWER SECTION:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int. 60 IN PTR playa.chl.tuxicoman.be.

# host 2001:6f8:204:20::1
Host \[x200106F8020400200000000000000001/128].ip6.arpa not found: 3(NXDOMAIN)

# host -n 2001:6f8:204:20::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int domain name pointer playa.chl.tuxicoman.be.



Current incorrect behaviour (v9.2.3-r1) :
# dig -x 2001:6f8:204:20::1
;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.arpa. IN PTR


# dig -n -x 2001:6f8:204:20::1
;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.arpa. IN PTR

# host 2001:6f8:204:20::1
Host 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.arpa not found: 2(SERVFAIL)

# host -n 2001:6f8:204:20::1
Host 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.arpa not found: 2(SERVFAIL)
Comment 1 Bernhard Schmidt 2004-04-13 11:12:14 UTC
Sorry, this is not correct. Bitstring has been moved back to experimental in RFC 3363 Chapter 3 and is not used anymore (in fact, it has never been delegated at all). 

The current way to go is nibble format in ip6.arpa which is exactly the thing bind-tools 9.2.3 is doing
Comment 2 Guy Martin (RETIRED) gentoo-dev 2004-04-13 11:35:39 UTC
Ok then it's a problem of documentation.

The man page of host and dig does not document the -i options which is the right to use (and I just discovered :)

Those commands works :

# dig -i -x 2001:6f8:204:20::1
;; QUESTION SECTION:
;1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int. IN PTR
;; ANSWER SECTION:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int. 60 IN PTR playa.chl.tuxicoman.be.

# host -i -n 2001:6f8:204:20::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.0.2.0.8.f.6.0.1.0.0.2.ip6.int domain name pointer playa.chl.tuxicoman.be.
Comment 3 Bernhard Schmidt 2004-04-13 11:44:28 UTC
Move/copy your delegation to ip6.arpa and you'll need no additional switch, Easynet can surely do that :-)
Comment 4 Guy Martin (RETIRED) gentoo-dev 2004-04-13 12:10:21 UTC
I just did :)
Comment 5 Jonathan Stewart 2004-06-04 14:20:54 UTC
can this bug be as resolved then?

Seems like it's more a bug with Bind for not documenting the behavior than with gentoo.
Comment 6 Jeffrey Forman (RETIRED) gentoo-dev 2004-06-21 11:19:53 UTC
Confirmed as documentation job for BIND than for Gentoo.

Thanks!
-Jeff
Comment 7 Jeffrey Forman (RETIRED) gentoo-dev 2004-06-21 11:20:29 UTC
Wrong resolution, let me fix
Comment 8 Jeffrey Forman (RETIRED) gentoo-dev 2004-06-21 11:20:53 UTC
There we go...
-Jeffrey