Andrej Podzimek wrote:
> Hello,
> 
> Is it possible to prevent the DHCP client from touching
> /etc/resolv.conf? Is there anything like the '-C resolv.conf' option
> (known from ISC dhcpcd)? For example, one might want to use nameserver
> 8.8.8.8 on public WiFi networks, no matter what the local DHCP server says.

Try setting PARAM_IGNORE_LIST in /etc/default/dhcpagent, as described in
the dhcpagent(1M) man page.

For what it's worth, it's not actually the DHCP client itself that does
this.  Instead, it's a system service (svc:/network/service:default)
that runs a script (/lib/svc/method/net-svc) that in turn modifies that
file.

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to