r/AdGuardHome • • Oct 30 '26

Upstream DNS processing time?

What upstream DNS are you guys using and what are your processing times?

used https://dns.quad9.net:443/dns-query for a week and had an average processing time of 200ms, it seems unreasonable. I also tried https://cloudflare-dns.com:443/dns-query for a week with 56ms avg processing time, also quite high.

13 Upvotes

21 comments sorted by

1

u/poopmagic 29d ago

I'm using these:

  • quic://unfiltered.adguard-dns.com:853 - 15 ms
  • tls://one.one.one.one:853 - 12 ms
  • tls://dns10.quad9.net:853 - 8 ms
  • tls://dns.opendns.com:853 - 8 ms

Where are you located and what kind of internet connection do you have? Like, fiber, cable, satellite?

1

u/ctrlHead 29d ago

Sweden, fiber to my house, 1000/1000 and then cat 6 to all machines.

1

u/poopmagic 29d ago

Huh. That should translate to pretty low latency, so I’m not sure what could be going on. I know sometimes ISPs can have suboptimal routing, so maybe that’s it.

Have you tried one of those tests that allows you to check tons of DNS services at the same time? Like this one: https://dnsspeedtest.online (not saying it’s the best, just one of the first search results and it seems to do the job).

1

u/BasicallyUpset 28d ago

Why quic only in adguard but in quad9? Why dot over doh?

1

u/poopmagic 28d ago

Basically, no good reasons.

I just ran doh, dot, and quic in parallel mode for a day and picked whichever one had the better response time for each.

The differences weren’t huge (like 11ms vs. 13ms) and there’s a good chance that I’d get different results if I repeated the experiment.

1

u/BasicallyUpset 28d ago

Got it.
I use doh for convenience. Google + cloudflare + quad9.

If i were to optimize it, id set quic + doh (because of http/3).

1

u/master_of_dcath 28d ago

Make sure you have rate limit turned off in the settings (it is on by defualt and set to 20 per second which is insane) and run multiple upstreams in parallel mode. I went from 200+ ms response times to sub 20 ms.

1

u/ctrlHead 28d ago

Hmm I had that rate limit set to 100. I might try parallell though.

3

u/vive-le-tour Oct 30 '26

Does it matter if most dns is cached? Saying that mine is running about 23ms to cf from nz

Maybe try signing up for a free cf account and get your own dns url and see if you can use one of the other protocols and if it’s faster

1

u/Tremaine77 Oct 30 '26

Do you maybe have a guide on how to do that. I have a cf account.

2

u/P_Bear06 Oct 30 '26

Anyway avoid quad9. A large portion of the public is misled by the "non-profit" designation, mistakenly conflating it with a total absence of profit. Despite the level of transparency such a status should imply, the reality is disappointing. Case in point: while their FAQ boasts a 99.999% availability target, a major multi-hour service disruption in August 2021 proved that this metric functions purely as marketing spin rather than a realistic SLA.

1

u/ctrlHead 29d ago

So which would you recommend then?

1

u/P_Bear06 29d ago

The best option is undoubtedly your own recursive DNS server. Like Unbound. Or even Technicium (which can completely replace AGH since it supports ad-block lists).

At least with your own recursive DNS server, you can be sure nothing is blocked (in France, the most well-known public DNS servers have been forced by rights holders to block certain sites).
Personally, I use AGH with Cloudflare.

1

u/IAmSixNine 29d ago

No one is perfect. Google has had hiccups with their DNS, Cloudflare as well. Your referencing an issue from 45 years ago that lasted a few hours. Now if your attacking their integrity or have info that they keep our data please im all ears. And for the record i like to tinker with my network so i mainly go between quad 9 and cloufdalre with the occasional use of google to check speeds as a 3rd number to compare.

1

u/P_Bear06 29d ago

Uh? Google has had serious issues that fall well short of five nines, but... Google explicitly opposes the systematic pursuit of five nines anyway. 😅 After all, Google literally codified the SRE (Site Reliability Engineering) methodology ! You couldn't have picked a worse example.

We don't blame Quad9 for not being infallible; we blame them for lying. They try to play the white knight when they aren't. Cloudflare is a business too, but at least they don't hide behind a misleading "non-profit" label.

1

u/[deleted] 26d ago

Five nine? The hack? Why are you referencing a fictional event from the tv series Mr. Robot?

1

u/Namtrac50 Oct 30 '26

Average upstream response time for the last 24 hours (using parallel requests):

  • tls://one.one.one.one:853 - 11 ms
  • tls://dns.google:853 - 10 ms
  • tls://unfiltered.adguard-dns.com:853 - 10 ms

Average processing time - 7 ms

1

u/Zame012 29d ago

I use this and get sub 20ms time:

https://dns.quad9.net/dns-query

1

u/Noble_Llama 29d ago

AGH -> Unbound -> Quad9 (via DoT) Avg response time: 0.5 -2ms.

​Why do I use a trusted upstream instead of querying root servers directly? While QNAME minimization and decentralization are strong arguments for a purely recursive setup, DoT still hides my DNS traffic from my ISP, and Quad9 adds an extra layer of malware filtering. Given that the ISP can usually see the target IP and unencrypted SNI headers during the TLS handshake anyway, absolute privacy is an illusion right now. I prefer taking the performance and security benefits of a solid upstream. ​And before anyone asks why I use Unbound when AGH has a built-in cache: Unbound is a dedicated resolver. Its cache management (prefetching, serve-expired) is vastly superior and much more efficient than the basic cache in AGH.

0

u/mystiquebsd Oct 30 '26

Smartdns (github project)

Will allow you to use multiple upstream with different protocols and show the speed of them all.

0

u/Hungry-Criticism-770 Oct 30 '26

I use a self hosted dnscrypt-proxy instance as my upstream