Subject: bin/19887: "route get -inet6" fails to do AAAA lookups
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-bugs
Date: 01/17/2003 08:37:03
>Number: 19887
>Category: bin
>Synopsis: "route get -inet6" fails to do AAAA lookups
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 17 06:38:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Frederick Bruckman
>Release: NetBSD 1.6_STABLE
>Organization:
>Environment:
System: NetBSD tautology.immanent.net 1.6_STABLE NetBSD 1.6_STABLE
(TAUTOLOGY) #12:
Thu Jan 16 09:50:47 CST 2003 fredb@tautology.immanent.net:
s/src-release/sys/arch/i386/compile/TAUTOLOGY i386
Architecture: i386
Machine: i386
Kernel, userland built from January 16, 04:00GMT sources.
>Description:
On 1.6_STABLE, "route get -inet6" fails to do AAAA lookups. Observe:
Script started on Fri Jan 17 08:18:55 2003
fredb@tautology# route get -inet6 ftp.netbsd.org
ftp.netbsd.org: bad value
fredb@tautology# dig ftp.netbsd.org aaaa
; <<>> DiG 8.3 <<>> ftp.netbsd.org aaaa
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 8
;; QUERY SECTION:
;; ftp.netbsd.org, type = AAAA, class = IN
;; ANSWER SECTION:
ftp.netbsd.org. 9h5m43s IN AAAA 2001:4f8:4:b:2e0:81ff:fe21:6563
;; AUTHORITY SECTION:
netbsd.org. 8h48m57s IN NS ns.netbsd.org.
netbsd.org. 8h48m57s IN NS ns1.berkeley.edu.
netbsd.org. 8h48m57s IN NS ns2.berkeley.edu.
netbsd.org. 8h48m57s IN NS uucp-gw-1.pa.dec.com.
netbsd.org. 8h48m57s IN NS uucp-gw-2.pa.dec.com.
;; ADDITIONAL SECTION:
ns.netbsd.org. 8h48m57s IN A 155.53.1.253
ns1.berkeley.edu. 1d8h46m46s IN A 128.32.136.9
ns1.berkeley.edu. 1d8h46m46s IN A 128.32.206.9
ns2.berkeley.edu. 1d8h46m46s IN A 128.32.136.12
ns2.berkeley.edu. 1d8h46m46s IN A 128.32.206.12
uucp-gw-1.pa.dec.com. 1d8h48m57s IN A 16.1.0.18
uucp-gw-1.pa.dec.com. 1d8h48m57s IN A 204.123.2.18
uucp-gw-2.pa.dec.com. 1d8h48m57s IN A 16.1.0.19
;; Total query time: 3 msec
;; FROM: tautology.immanent.net to SERVER: default -- 127.0.0.1
;; WHEN: Fri Jan 17 08:19:22 2003
;; MSG SIZE sent: 32 rcvd: 311
fredb@tautology# route get -inet6 2001:4f8:4:b:2e0:81ff:fe21:6563
route to: ftp.netbsd.org
destination: 2001::
mask: ffff::
gateway: fbruckman.tunnel.tserv1.fmt.ipv6.he.net
local addr: fbruckman-pt.tunnel.tserv1.fmt.ipv6.he.net
interface: gif2
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 0 0
fredb@tautology# exit
Script done on Fri Jan 17 08:20:11 2003
[The angle brackets are probably going to be mangled by send-pr, but
there should be enough to get the point across.]
>How-To-Repeat:
As above.
>Fix:
The only work-around is to use numeric addresses. This is highly
inconvenient. It works correctly on current, so all there is to do
is to identify the required pull-ups.
>Release-Note:
>Audit-Trail:
>Unformatted: