https://www.openbsd.design/faq/pf/example1.html
If the router should also use the caching resolver, its /etc/resolv.conf file should contain
nameserver 127.0.0.1
I open /etc/resolv.conf
nameserver 192.168.88.1 # resolvd: re0
nameserver 8.8.8.8 # resolvd: re0
nameserver 8.8.4.4 # resolvd: re0
lookup file bind
I edit it
nameserver 127.0.0.1 # openbsd.design/faq/pf/example1.html
lookup file bind
I reopen it
nameserver 192.168.88.1 # resolvd: re0
nameserver 8.8.8.8 # resolvd: re0
nameserver 8.8.4.4 # resolvd: re0
nameserver 127.0.0.1 # openbsd.design/faq/pf/example1.html
lookup file bind
So the file is watched and missing auto-entries are re-added,
and they are auto-added at the top
https://man.openbsd.org/resolv.conf
Up to ASR_MAXNS (currently 5) name servers may be listed, one
per line. If there are multiple servers, the resolver
library queries them in the order listed.
So nameserver 127.0.0.1
will never be used as long as upper ones work, and they most certainly do
😕 😖