r/AdGuardHome • • 26d ago
Average Response Time
What's y'all avg response time? And what does your setup look like? eg. AGH + upstream, AGH + Dnscrypt/Dnsproxy or Unbound?
I got an 18 ms average response time using AGH + Unbound w/ Redis + DNSProxy forwarding to Quad9, I'm just wondering if y'all got more optimized/secured setup. I don't do full recursive because I don't like feeling naked behind my ISP, and Quad9 seems trustworthy.
5
Upvotes
2
u/Noble_Llama 26d ago edited 26d ago
My setup, active/passive with automatic failover:
Unbound runs as a DNSSEC-validating, caching forwarder. I benchmarked a handful of DoT resolvers from my ISP, and Quad9 came out fastest at ~10 ms.
serve-expiredis enabled, and the caches are generous (msg 128 MB / rrset 256 MB).AGH's own cache is disabled. Unbound handles all caching, which gives me one cache layer instead of two and finer control (separate msg/rrset caches, serve-expired). AGH just filters.
Average response time (AGH dashboard), after a 2–3 day warm-up: 0.5–3 ms. That's purely Unbound's cache, including the hop between the two containers.
I ran Redis as a cachedb backend for Unbound for a while, but it didn't add any real value for me. The warm-up is quick, and Unbound's in-memory cache is more than big enough. You visit the same sites over and over anyway, so Redis was basically just sitting there bored.
1
u/2112guy 26d ago
Between 9 and 11 ms, using AGH to perform parallel requests to
quic://p2.freedns.controld.com
quic://dns.nextdns.io
quic://dns.quad9.net
(Those are the fastest in my location after testing several other servers)
No need for Unbound, recursive or DNSProxy
1
u/Resistant4375 26d ago
Like my question to another poster here:
Why forward to Quad9 over unbound?
You can use DoT/DoQ/DoH etc. in AGH and have caching etc.
2
u/nm_ 26d ago edited 26d ago
2ms average processing time.
I run parallel mode in AGH with quic://dns.quad9.net and my own local unbound recursive resolver. quad9 responds faster for new queries and unbound responds even faster once the cache builds up.
1
u/damjankov 26d ago
2-3ms, cloudfare, quad9, optimistic caching Openwrt 25.12.6 on tuf-ax4200
1
u/Hot-Composer-8614 21d ago
10 ms Quad 9 + Cloudflare DoH Optimistic cache enabled
0
u/mxz117 26d ago
19ms, nothing doing anything special