Local DNS resolver not used

The title is more of an educated guess that a fact, I’m not to sure hot to properly test this.

Whats my problem:

Since a day or so I can’t resolve DNS entries that I configured as static in my routers DNS resolver. (Entries I use to access local devices.)
This was working on both phones previously.

This seems to be a problem independent of phone and /e/OS version since I experience this on a 4.2-a15 Fairphone 5 and a 4.1.1-a16 Pixel 7 pro.

What I tried to debug this:

On my Laptop the addresses get resolved properly (blinds-bedroom.lan for example get resolved to the correct IP).

The DHCP server seems to deliver the correct IP for the local DNS resolver (my routers IP).
This is visible when I check the DNS section under my connected WiFi network.

I changed the settings in the Private DNS menu under Network and Internet and rebooted the phone, no change observed.

I used Termux to manually query a entry:

  • dig blinds-bedroom.lan doesn’t resolve the address but states 8.8.8.8 as the used server
  • dig @my-routers-ip blinds-bedroom.lan correctly resolves the IP

I don’t know if the google DNS under Termux might be a Termux thing but the behavior fits my problem.

I also tried multiple browsers to access the local addresses in question but got DNS errors in all of them.

1 Like

Found the solution myself:
An access point got a update and for some reason that enabled DHCPv6 for that access point.
This caused the phones to ignore the IPv4 DNS server handed out by the actual router for some reason.

1 Like