Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2017 01:43:58 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        Ernie Luzar <luzar722@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Help using resolvconf command
Message-ID:  <211d9d6f-049d-e5a1-c412-176b47927d86@bananmonarki.se>
In-Reply-To: <59C1A7C6.8010604@gmail.com>
References:  <59C1A7C6.8010604@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/20/17 01:27, Ernie Luzar wrote:
> At boot time this is what
> /etc/resolv.conf looks like
>
> # Generated by resolvconf
> search neo.rr.com
> nameserver 209.18.47.61
> nameserver 209.18.47.62
>
> My /etc/resolvconf.conf looks like this
>
> name_servers="127.0.0.1"
>
>
> execute resolvconf -u
>
> and /etc/resolv.conf now looks like this
>
> # Generated by resolvconf
> search neo.rr.com
> nameserver 127.0.0.1
>
>
>
> I want /etc/resolv.conf to looks like this
>
> nameserver 127.0.0.1
>
>
> What do I have to add to /etc/resolvconf.conf to make that happen?
If you get your ip with DHCP you can put this in your /etc/dhclient.conf

supersede domain-name-servers 127.0.0.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?211d9d6f-049d-e5a1-c412-176b47927d86>