svn commit: r239356 - head/sbin/dhclient
Andrey Chernov
ache at FreeBSD.ORG
Tue Aug 21 04:45:59 UTC 2012
On Tue, Aug 21, 2012 at 11:57:56AM +0900, Hajimu UMEMOTO wrote:
> FreeBSD 9 and above already have a feature to handle multiple source
> of DNS address,; resolvconf(8). Our dhclient(8) and rtsol(8) uses it
> to write /etc/resolv.conf.
Thanks pointing to resolvconf(8) and rtsol(8), I'll try to look there to
setup this stuff properly.
> Don't you see `# Generated by resolvconf' line in your generated
> /etc/resolv.conf?
> DHCP cannot carry an IPv6 address.
> I suspect your router advertises an IPv6 address of your DNS server.
Yes. Whole resolv.conf:
# Generated by resolvconf
search <domain>
nameserver 192.168.1.1
nameserver <IPv6 DNS address for the router's IPv6 tunnel>
> You can confirm where the DNS server addresss come from by executing
> `resolvconf -l'.
resolvconf -l output:
# resolv.conf from msk0
search <domain>
nameserver 192.168.1.1
# resolv.conf from msk0:slaac
nameserver <IPv6 DNS address for the router's IPv6 tunnel>
(btw, what is slaac?)
And I want to override <IPv6 DNS address for the router's IPv6 tunnel>
with simple link-local IPv6 address of my router, i.e. fe80:...
Is it possible with resolvconf(8)?
--
http://ache.vniz.net/
More information about the svn-src-head
mailing list