svn commit: r239356 - head/sbin/dhclient
Andrey Chernov
ache at FreeBSD.ORG
Tue Aug 21 06:30:30 UTC 2012
On Tue, Aug 21, 2012 at 03:16:26PM +0900, Hajimu UMEMOTO wrote:
> ache> And I want to override <IPv6 DNS address for the router's IPv6 tunnel>
> ache> with simple link-local IPv6 address of my router, i.e. fe80:...
>
> I think your network admin setup to advertise the address. Why do you
> want to use link-local address, instead?
I am network admin, but what router advertise is out my easy control
(fixing configs in the Linux router's FS or even rebuilding router
components is needed, I don't want to touch this hardware).
I want override because router runs dnsmasq with caching (on both its IPv4
and IPv6 adresses), and NS it advertise goes through tunnel each time
without caching in the router.
> ache> Is it possible with resolvconf(8)?
>
> resolvconf(8) doesn't have such rewrite feature. However, rtsol(8)
> has -R option to specify your own script to update /etc/resolv.conf.
> You may want to write your own script to rewrite nameserver address
> then pass it to resolvconf(8).
So far I found the way to specify router link-local address using
name_servers=fe80::...
in the /etc/resolvconf.conf
It prepends this name server above all others router advertise. But I
still not find the way to _exclude_ what router advertise,
perhaps looking into rtsol(8) possibilities you point will help here.
--
http://ache.vniz.net/
More information about the svn-src-all
mailing list