I am currently trying to setup my home network properly and I am little stuck with local domains.
- 1 Pi, 1 Fedora 38 Workstation, 1 Fedora 38 Server
- Pi is hosting Pihole with unbound
- Unbound has a record for the server
- DHCP on the router is setup to provide the IP of the pi for DNS
Checking on the pi with dig, I will get a proper IP for the custom local domain for both querying unbound and pihole
My workstation can resolve public addresses, e.g. google.com, and pihole logs confirm the proper communication. Using dig to resolve the local domain without specifying a server fails with SERVFAIL, using the IP explicitly returns the correct IP for the local domain and logs on the pi are also populated.
I didn’t change any components regarding networking and resolving, thus it should be still be system-resolved and NetworkManager (?). After some googling it came to my attention that this behavior is actually not a misconfiguration but the designed default for local domains (sic!)
More googling pointed to LLMNR and that it has to be deactivated - How can I disable LLMNR in systemd-resolved? - Ask Ubuntu , but
To be frank I am quite lost on that topic and a little bit frustrated that so much plumbing seems to be needed to use a DNS server defined via DHCP. Could someone guide me or at least give me directions in how to solve that mess? Thx.