My local DNS is continuously changed

At home I run a Raspberry Pi with PiHole. Every device obtain its IP via DHCP and some devices have a reserved address. The router is configured to offer my Raspberry Pi as primary DNS, for every device this works well, except for my laptop with Ubuntu.

Quite often (like every day) my DNS is changed to my second DNS option. I can revert this change with resolvectl dns <interface> <ip>, but IMHO this should not happen. If I assign a primary DNS, it should be the one used, not matter what, unless it cannot be reached.

What could be the reason for having Ubuntu changing my primary DNS?

Update:

This is what the logs says about the automatic change. Aparently, there is no reason to pickup the second DNS over the first.

enter image description here

7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like