Configuration on a systemd-resolved system with other DNS servers
Hi there.
NextDNS recommends to configure its DNS-servers inside etc/systemd/resolved.conf. But when I do so, no other DNS-resolution is possible (for instance for my internal hostnames or for my companies DNS servers).
How can this be configured so DNS-routings from the active interfaces are used? Basically this logic right here:
Per default, all DNS queries are served by NextDNS, only if an interface has DNS-routing and / or search domains configured. Then these are used instead.
I wish to have the benefits of NextDNS available while still being able to properly resolve internal hostnames when I'm working in the office or whan I have VPN activated.
Any help is highly appreciated.
1 reply
-
I solved it. The issue was that the suggested NextDNS systemd-resolved config included DNSOverTLS=yes which was a global setting. Resulting in my custom DNS servers failing to resolve internal hostnames (because they were not able to answer to DNSOverTLS requests).
I solved it by creating a specific file to disable DNSOverTLS for said office-network (inside /etc/systemd/network/).
Content aside
- 1 yr agoLast active
- 1Replies
- 358Views
-
1
Following