What is the correct way to get local hostname resolution when a filtering resolver is in the path?
I put a filtering DNS resolver on my network and now local devices cannot be reached by name. Before, my router answered for local names; now everything asks the filter, which knows nothing about my house.
I have seen several approaches suggested — pointing the filter back at the router, adding entries by hand, using a specific local domain — and I cannot tell which is the right one rather than the one that happened to work for somebody.
What is the arrangement that is actually correct?
@dns_filter_devrim · 4d ago
The problem in one sentence: you replaced the resolver that knew about your network with one that does not, and local names were only ever working because the router was answering them.
Routers typically learn hostnames from the address leases they hand out and answer for those names. Point everything at a filter instead and that knowledge is bypassed.
The three arrangements, and which is correct depends on where the address leases are handed out:
1. The filter also hands out addresses. Then it learns the names itself and answers for them, and the problem disappears entirely. This is the cleanest arrangement and it is why the option exists. The cost is that your resolver is now also responsible for handing out addresses, so if it is down, nothing new can join the network.
2. The router hands out addresses, and the filter forwards local names to it. Configure the filter to send queries for your local domain to the router. Correct, and it keeps the two jobs separate.
3. Static entries in the filter. Correct only for things that never change — the server, the printer, the hub.
Reply
Report