Description
Prerequisites
-
I have checked the Wiki and Discussions and found no answer
-
I have searched other issues and found no duplicates
-
I want to request a feature or enhancement and not ask a question
The problem
In the OpenWRT system, I use AdGuard Home to replace the built-in dnsmasq for DNS resolution (AdGuard Home uses port 53, dnsmasq is changed to port 52, and AdGuard Home's Private Reverse DNS Server is set to dnsmasq's port 52). However, the DHCP service is still handled by the original dnsmasq. I have found that local arpa requests can be correctly forwarded to the local dnsmasq for local reverse lookup.
Additionally, OpenWRT has a device domain name feature, which is based on the device name combined with the local domain name in the Network-DHCP/DNS settings, with "lan" as the default. For example, if the device name is "xiaomi-14", the local domain name would be "xiaomi-14.lan". I noticed that many local devices request this local domain name in AdGuard Home, but AdGuard Home does not forward these requests to the Private Reverse DNS Server set to dnsmasq's port 52. Instead, it forwards them to an online DNS server, resulting in a large number of resolution failures with response times over 5000+ milliseconds. Additionally, Windows systems often request wpad plus the local domain name, such as the default "wpad.lan", to find the local proxy. These requests are also wrongly forwarded to the online DNS, causing high latency and no results.
Proposed solution
Therefore, I suggest updating the Private Reverse DNS Server feature to be a Private DNS Server. Additionally, alongside the default forwarding of arpa requests, please add an input field where users can input the local domain name (such as the default "lan"). This would ensure that domain names with the suffix ".lan" are also forwarded to the private DNS server, not limited to arpa reverse queries, ensuring functional implementation and normal latency.
Alternatives considered and additional information
No response