From b2c3b679ece56d6507b5d0fce0d8947c2cc4040f Mon Sep 17 00:00:00 2001 From: furaihan Date: Sun, 30 Aug 2020 18:31:28 +0700 Subject: [PATCH] Create quad9-doh.f --- quad9-doh.f | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 quad9-doh.f diff --git a/quad9-doh.f b/quad9-doh.f new file mode 100644 index 0000000..23f052e --- /dev/null +++ b/quad9-doh.f @@ -0,0 +1,12 @@ +/ip dns +set allow-remote-requests=yes cache-max-ttl=2d cache-size=8192KiB \ + query-server-timeout=4s query-total-timeout=20s servers=\ + 9.9.9.9,149.112.112.112,2620:fe::fe,2620:fe::fe:9 use-doh-server=\ + https://dns.quad9.net/dns-query +/ip dns static +add address=104.16.248.249 name=cloudflare-dns.com type=A +add address=104.16.249.249 name=cloudflare-dns.com type=A +/ip firewall nat +add action=redirect chain=dstnat comment=DNS dst-port=53 protocol=udp \ + to-ports=53 +add action=redirect chain=dstnat dst-port=53 protocol=tcp to-ports=53 \ No newline at end of file