AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home/overview.html
GNU General Public License v3.0
25.63k stars 1.84k forks source link

Disable rewrite min cache TTL for private local DNS? #7397

Open lux5am opened 2 weeks ago

lux5am commented 2 weeks ago

Prerequisites

The problem

I installed Adguardhome on openwrt without changing Dnsmasq as default DNS and dhcp server. I just add a firewall's port forward rule to forward client's DNS query to Adguardhome. It's working flawlessly.

I use this entries to forward all local DNS queries to local Dnsmasq

[//]127.0.0.1:53
[/lan/]127.0.0.1:53
[/local/]127.0.0.1:53

And rewrite min cache TTL to 1800. But I want all the private DNS query keep its original TTL. Any solution?

Proposed solution

Disable min cache TTL for private DNS if possible.

Alternatives considered and additional information

No response