bin/54278: dig misparses many IPv6 addresses

Arnt Gulbrandsen arnt at
Wed Jul 9 13:20:22 PDT 2003

>Number:         54278
>Category:       bin
>Synopsis:       dig misparses many IPv6 addresses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 13:20:19 PDT 2003
>Originator:     Arnt Gulbrandsen
>Release:        FreeBSD 4.8-STABLE i386
In this capacity, private
System: FreeBSD 4.8-STABLE FreeBSD 4.8-STABLE #5: Wed Jun 18 19:09:03 CEST 2003 arnt at i386


dig in 4.8-STABLE misparses many IPv6 addresses (including all of mine).
In a command such as "dig -x 2001:608:c:4::1", for example, the :608: is

dig from bind9 apparently does not have the problem.


I just cvsup'd to test the latest and greatest -STABLE (2003-07-09), and

$ /usr/obj/usr/src/usr.bin/dig/dig @ -x 2001:608:c:4::1
; <<>> DiG 8.3 <<>> @ -x
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13
;;, type = ANY, class = IN

Note that . It should be ., to match :608:.


More information about the freebsd-bugs mailing list