Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 08:45:53 +0400
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Hajimu UMEMOTO <ume@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, John Baldwin <jhb@FreeBSD.ORG>
Subject:   Re: svn commit: r239356 - head/sbin/dhclient
Message-ID:  <20120821044553.GA11375@vniz.net>
In-Reply-To: <ygeharxdk97.wl%ume@mahoroba.org>
References:  <201208171553.q7HFrhuf090457@svn.freebsd.org> <201208171507.07699.jhb@freebsd.org> <20120818195724.GA74684@vniz.net> <201208201409.55544.jhb@freebsd.org> <20120821010311.GA8250@vniz.net> <ygeharxdk97.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120821044553.GA11375>