AdGuard DoH on MikroTik – Connection Error: Idle Timeout (Help Needed)

Hi!

I’m having some trouble using the AdGuard DoH server. My goal is to use AdGuard to block ads, and from what I understand, using their DNS servers is the easiest way to get started.

However, I keep getting this error in the logs:

“DoH server connection error: Idle timeout - connecting”

I followed the steps from this guide to import the certificate:

:link: https://adguard-dns.io/kb/private-dns/connect-devices/routers/mikrotik/

The only difference is that I used AdGuard’s public DNS address instead of a private one.

Here are my current settings (see screenshots below):

Would really appreciate any help with troubleshooting this! :folded_hands:

Thanks in advance!

Perhaps you have to use the default DNS servers too:

94.140.14.14
94.140.15.15

Also add static DNS records if you haven’t:

/ip dns static
add name=dns.adguard-dns.com address=94.140.14.14
add name=dns.adguard-dns.com address=94.140.15.15
1 Like

Thanks! Will try those. I had static DNS records as well, but they were set as those other addresses.

After making the changes, everything worked without errors for about a day, which was great! But unfortunately, I started seeing the same errors again this morning.

Could this just be some random glitch on AdGuard’s end - or maybe even brief connection dropouts with my Starlink setup?

Ad blocking itself seems to be working just fine, so the error doesn’t seem to break functionality. Just wondering if this is something I should worry about or simply live with?