Setting up DoH on Mikrotik

I am trying to set up Gateway for Teams on my Mikrotik Router. I have put the following config so far but get “DoH server response not OK: 404: 404 page not found”.

Use DoH Server:
(where xxxxxxxx = unique string copied from my Gateway for Teams account)
I have ticked Verify DoH Certificate

I downloaded the Cloudflare crt and imported it to my Mikrotik
Can someone say whether this is the correct set up? Why might I be getting the error above?

And lastly, do I actually need to use DoH to use Gateway for Teams?


That is probably not the IP address that resolves to. You will likely want to change that to the correct IP(s) for that host.

I’d suggest taking a look at the guide here: MikroTik Tutorial: How to enable DNS over HTTPS (DoH) -

Please also see Manual:IP/DNS - MikroTik Wiki

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.