How to force a static /etc/resolv.conf?

Darren Pilgrim darren.pilgrim at gmail.com
Thu Jun 13 18:53:55 UTC 2013


On 2013-06-13 05:02, Loic Capdeville wrote:
> You can configure it in your dhclient.conf file.
> Use the supersede keyword.
> For example, in your case add:
>
> 	supersede domain-search "example.com example.net"
> 	supersede domain-name-servers 2001:db8::53

That only addresses the DHCPv4 client.  The DHCPv6 client doesn't have 
those options and neither do the VPN clients.



More information about the freebsd-questions mailing list