Help using resolvconf command

Bernt Hansson bah at bananmonarki.se
Tue Sep 19 23:44:12 UTC 2017


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


More information about the freebsd-questions mailing list