AdGuardHome
AdGuardHome copied to clipboard
Disable DNS cache for specific domains/regex
Problem Description
I'd like to be able to disable cache replies for a specific domain/fqdn/regex, etc. Use case is that I have monitors setup to test DNS resolution times against my DNS servers (to identify spikes, issues, etc). 99% of queries come back near 0ms response time (since they are served from AGH cache). Then every so often, when the cache expires, I see spikes to 30ms, effectively making this monitor not terribly useful for external domains.
Proposed Solution
I'd love to be able to see the ability to disable the AGH cache for a specific domain, a wildcard/regex, etc.
FYI, basically making this into a feature request: #3491
This feature would be even more beneficial now that Optimistic DNS is a thing. My need for this is that I access my home servers with dynamic dns service and since my ip address changes frequently, optimistic dns feature gets annoying. With cache bypass function like this I could just add exception to my ddns domain.
Hope to add this function at an early date.
I need this feature badly. I am using a NAT VPS to set up my Proxy. When the nat server's real IP is changed, it will automatically update in real-time to cloudflare A record. But since Adguard Home cache the domain IP, I can't browse any website because it still try to connect with the previous IP and Port.
There should be an exclude section for optimistic cache for a certain domain, and then it will always check the real domain IP instead of cache.
Need this feature badly too
This feature is needed to exclude hostname caching, like myhost.local
Need this feature too. I use ddns for wireguard endpoint, the cache for my domain make peer refresh too slow.
That would be great to exclude a specific domain from cache, else if my IP changes, i have to clean cache manuelly, so the dot is reachable again via Dynv6
We use AdGuard Home configured in the central firewall. Internal DNS queries (for internal domains or private in-addr PTR/SOA) should be sent directly to the domain controllers without caching, for example. The feature would be extremely useful here.