On Sun, Jul 18, 2021 at 07:10:06PM +0200, stolen data wrote: > After reading the man pages of the replacements for dhclient(8) it looks > like it will no longer be possible to prevent DNS entries in a DHCP offer > from ending up in the resolv.conf - as is practically always the case with > a residential Internet connection with DHCP. I don't want my ISP's DNS > servers *anywhere* in my resolv.conf, so I tell dhclient(8) to SUPERSEDE > DOMAIN-NAME-SERVERS, but now it looks like OpenBSD will no longer allow me > the choice and instead decides for me that DNS entries in DHCPOFFER must > always be included and made available for eventual use. Why? This is taking > control out of the hands of users and I cannot see any sense in the > rationale.
you don't want /etc/resolv.conf be controlled by dhcp ? just disable resolvd daemon, and /etc/resolv.conf is your. $ doas rcctl stop resolvd $ doas rcctl disable resolvd alternatively, if you are using unwind(8), resolvd(8) will automatically use unwind nameserver instead of dhcp/slaacd ones. Regards. -- Sebastien Marie