Artificial intelligent assistant

OpenBSD: stop resolvd from prepending nameservers to /etc/resolv.conf After upgrade to 7.1 I notice that `resolvd` always adds a nameserver received via dhclient to /etc/resolv.conf $ cat /etc/resolv.conf nameserver 10.0.2.3 # resolvd: vio0 lookup file bind nameserver 1.1.1.1 That's unexpected behaviour, because `dhclient` is configured to supersede DHCP's DNS configuration. $ cat /etc/dhclient.conf supersede domain-name-servers 127.0.0.1;

dhcpleased was introduced around 7.0 (see release notes). This means that the configuration should be done through it's configuration.

In your case create the file /etc/dhcpleased.conf


interface vio0 {
ignore dns
}


Reference: <

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 6cf8f3c26fbf6d78de187ad0a3b262cc