From nobody@FreeBSD.org  Sun Feb 16 01:24:58 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 4885A793
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Feb 2014 01:24:58 +0000 (UTC)
Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 322691B2E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Feb 2014 01:24:58 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1G1OvfW053493
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 16 Feb 2014 01:24:57 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1G1Ov6L053490;
	Sun, 16 Feb 2014 01:24:57 GMT
	(envelope-from nobody)
Message-Id: <201402160124.s1G1Ov6L053490@cgiserv.freebsd.org>
Date: Sun, 16 Feb 2014 01:24:57 GMT
From: Tom Pusateri <pusateri@bangj.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dhclient 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         186806
>Category:       bin
>Synopsis:       dhclient(8): cannot prepend ipv6 servers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 01:30:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Wed Apr 16 02:20:49 UTC 2014
>Originator:     Tom Pusateri
>Release:        9.2-RELEASE
>Organization:
>Environment:
FreeBSD freebsd92.foobar.com 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Google provides public IPv6 name servers. If you try to prepend them in
the dhclient.conf, you get an error because it won't accept IPv6 addresses.

interface "em0"
{
    prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
}

# /etc/rc.d/dhclient restart em0
Stopping dhclient.
Starting dhclient.
value 2001 exceeds max (255) for precision.
/etc/dhclient.conf line 13: too few numbers.
    prepend domain-name-servers 2001:
                                     ^
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 172.16.21.1
bound to 172.16.21.107 -- renewal in 21600 seconds.


This doesn't work either:

interface "em0"
{
    prepend dhcp6.name-servers 2001:4860:4860::8888;
}

# /etc/rc.d/dhclient restart em0
Stopping dhclient.
Starting dhclient.
/etc/dhclient.conf line 14: no vendor named dhcp6.
    prepend dhcp6.name-servers 
                  ^
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 172.16.21.1
bound to 172.16.21.107 -- renewal in 21600 seconds.



>How-To-Repeat:
configure /etc/dhclient.conf like above and restart dhclient.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
