Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 10:30:27 +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
Subject:   Re: svn commit: r239356 - head/sbin/dhclient
Message-ID:  <20120821063027.GA41459@vniz.net>
In-Reply-To: <ygefw7gepmt.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> <20120821044553.GA11375@vniz.net> <ygefw7gepmt.wl%ume@mahoroba.org>

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



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