Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2017 20:24:44 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center>
Cc:        freebsd-net@freebsd.org
Subject:   Re: resolvconf.conf name_servers option
Message-ID:  <fad32037-b957-48e8-5711-e917d3440f6f@FreeBSD.org>
In-Reply-To: <20171202145620.5ik4f2lrnkr5tf73@hal9000.meka.no-ip.org>
References:  <20171202145620.5ik4f2lrnkr5tf73@hal9000.meka.no-ip.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/12/2017 16:56, Goran Mekić wrote:
> Hello,
> 
> I found out that when I set "name_servers=127.0.0.1", that's the only
> nameserver line in /etc/resolv.conf after resolvconf -u, but the man
> say:
> 
> name_servers
>      Prepend name servers to the dynamically generated list.  You
>      should set this to 127.0.0.1 if you use a local name server other
>      than libc.
> 
> I get the same result if I use "prepend_nameservers=127.0.0.1". Strange
> enough, "append_nameserver=127.0.0.1" works as expected: two nameserver
> lines, one with DHCP provided one and second with 127.0.0.1.
> 
> I'm running 11.1-p5. Am I the only one having that problem?

See resolv_conf_local_only.
There are some complex dependencies between options.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fad32037-b957-48e8-5711-e917d3440f6f>