mirror of
https://github.com/furaihan/simple-mikrotik-script.git
synced 2025-06-26 16:08:37 +02:00
Create quad9-doh.f
This commit is contained in:
parent
4963691fa6
commit
b2c3b679ec
1 changed files with 12 additions and 0 deletions
12
quad9-doh.f
Normal file
12
quad9-doh.f
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue