Ow ps, you mentioned Unbound.
If this was installed using a distro with a recent openresolv
package:
pi@ph5b:~ $ apt policy openresolv
openresolv:
Installed: 3.12.0-1
Candidate: 3.12.0-1
Version table:
*** 3.12.0-1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
100 /var/lib/dpkg/status
And below file exists (it doesnt on my setup):
pi@ph5b:~ $ sudo find /etc/unbound/ -iname resolvconf_resolvers.conf
pi@ph5b:~ $
I advice you to do below to prevent unexpected/improper behaviour (DNS loops etc):