openHABianPi name server configuration wrong after every restart


for a while I was running PiHole and openHABianPi on the same Raspi 3.

Then I decided to uninstall PiHole and since then have the problem that the name server configuration defaults to instead of every time I reboot the device. The Raspi then can’t connect to the internet and many Things don’t work.

My current workaround is to edit the /etc/resolv.conf file manually after each restart.

Does anyone know how to permanently change the name server configuration?


Etc/dhcpcd is the file I believe. Have a look at it.