kern/156259: [patch] IPv6 DNS autoconfiguration (RFC6106 RDNSS and DNSSL)

J.R. Oldroyd fbsd at
Thu Apr 7 21:00:25 UTC 2011

>Number:         156259
>Category:       kern
>Synopsis:       [patch] IPv6 DNS autoconfiguration (RFC6106 RDNSS and DNSSL)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 07 21:00:24 UTC 2011
>Originator:     J.R. Oldroyd
>Release:        FreeBSD 8.2-RELEASE amd64
System: FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at amd64
When using IPv6 stateless autoconfiguration (SLAAC), FreeBSD only
configures the interface's IPv6 address and does not configure the
DNS server or DNS search domain(s).  This means a system using 
IPv6 SLAAC must obtain its DNS server and domain information using
other means or must rely on IPv4 nameservice.

RFC proposal 5006 and the later draft standard RFC 6106 describe
extensions to the IPv6 ICMP6 router advertisement (RA) protocol
to add DNS server and DNS search domain information, known as the
RDNSS and DNSSL router advertisement options.

The patches offered here implement RFC 6106 by means of:

	1. extensions to rtadvd(8) to parse configuration for
	   and to send RA RDNSS and DNSSL options

	2. extensions to rtsold(8) to accept these options

	3. a new script /sbin/resolvconf to manage the DNS
	   options, their expiry, and their addition to the
	   system's resolver configuration file, /etc/resolv.conf

	4. changes to dhclient(8)'s /sbin/dhclient-script to also
	   use the new /sbin/resolvconf script so that IPv6 DNS
	   updates from rtsold and IPv4 DNS updates from dhclient
	   can co-exist peacefully

These patches were frist made known on freebsd-net@ here:

and have been downloaded 10-15 times per week since then.
Obtain the four patches from the web page:


More information about the freebsd-bugs mailing list