IPv6 TCP

Mark Andrews marka at isc.org
Tue Dec 29 01:22:03 UTC 2009


In message <475084.65186.qm at web110304.mail.gq1.yahoo.com>, Pamela Rock writes:
> This query is to anyone in general, based on the previous dig statement, do=
> es the following command make sense??
> 
> dig -6 www.es.net @some:ipv6:address +tcp
> 
> I'm wondering if the combination of -6, @some:ipv6:address, and +tcp even m=
> ake sense.  That is ultimately what I'm trying to achieve.

Yes, it make sense.  The following will retrieve the SOA record
from ns-ext.isc.org using its IPv6 address over tcp.  If you put a
literal IPv6 address rather than a name then the -6 is not needed.

% dig -6 dv.isc.org soa @ns-ext.isc.org +tcp

; <<>> DiG 9.3.6-P1 <<>> -6 dv.isc.org soa @ns-ext.isc.org +tcp
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1588
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;dv.isc.org.			IN	SOA

;; ANSWER SECTION:
dv.isc.org.		3600	IN	SOA	bsdi.dv.isc.org. marka.isc.org. 2007103117 86400 21600 2419200 86400

;; AUTHORITY SECTION:
dv.isc.org.		86400	IN	NS	ns-int.isc.org.
dv.isc.org.		86400	IN	NS	ns-ext.isc.org.

;; Query time: 218 msec
;; SERVER: 2001:4f8:0:2::13#53(2001:4f8:0:2::13)
;; WHEN: Tue Dec 29 12:15:00 2009
;; MSG SIZE  rcvd: 117

%

I suspect your error has more to do with the value of the IPv6
address and sanity checks in the Linux kernel than with anything
else.  Use a allocated address or generate a ULA prefix for testing
and use that.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list