resolvconf.conf name_servers option

Andriy Gapon avg at FreeBSD.org
Sat Dec 2 18:30:53 UTC 2017


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


More information about the freebsd-net mailing list