pothi.mikrotik-scripts/doh-scripts
2025-06-11 16:08:54 +05:30
..
cloudflare-1.1.1.1.rsc Add alternative Cloudflare DoH script 2025-06-02 06:47:02 +05:30
cloudflare-dns-security.rsc Add Cloudflare DoH script 2025-06-11 16:08:54 +05:30
cloudflare-dns.rsc Add a new script to add Cloudflare DoH 2025-06-04 07:10:32 +05:30
cloudflare-one.one.one.one.rsc Add alternative Cloudflare DoH script 2025-06-02 06:47:02 +05:30
generic.rsc Add generic DoH script 2023-07-28 10:27:00 +05:30
google.rsc Use the latest root certificate 2025-04-01 08:18:54 +05:30
mullvad-family.rsc Split ntp-client script for ROS v6 and v7; add mullvad family DoH script 2024-11-29 20:13:34 +05:30
nextdns.rsc Update inline docs; fix how variable is assigned 2023-08-28 20:32:04 +05:30
quad9.rsc Only remove specific certificates 2023-08-28 07:02:45 +05:30
README.md Add a new script to add Cloudflare DoH 2025-06-04 07:10:32 +05:30

The following DoH services can be automated for now...

Incompatible / buggy implementation...

Since Router OS v7.19... built-in CA certificates can be used with /certificate/settings/set builtin-trust-anchors=trusted

Or you may use the generic script.

Officially incompatible DoH servers... 37748767/DNS (DNS-Knowncompatible)/incompatibleDoHservices

Relevant thread in MikroTik forums... https://forum.mikrotik.com/viewtopic.php?f=2&t=160243#p799274

Remember that DoH depends on the correct time on your MikroTik device. So, make sure that the NTP client is configured and is working. The MikroTik's Cloud NTP client service requires a working DNS that in turn requires a working NTP client. So, please don't depend on MikroTik's Cloud NTP sync service.

Root CA certificates that we can use...

The following don't work for unknown reason...

Or download most (if not all) root CA certificates from https://curl.se/ca/cacert.pem

Recommended - https://pki.goog/repo/certs/gtsr4.pem (validity: 2038)

NextDNS recommends https://curl.se/ca/cacert.pem too.