-
-
Save pessom/b9806cfef0d5bc6a2f982f40c7d4bbe9 to your computer and use it in GitHub Desktop.
Revisions
-
M0r13n revised this gist
Jul 4, 2021 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,4 +14,11 @@ /ip dns set servers="" # Delete the certificate file /file remove cacert.pem # OPTIONAL - Disable DDNS /ip dhcp-client set use-peer-dns=no # Enter 0 as a number if it asks you # If you are connection over LTE (for exmaple with a chateau) /interface lte apn set use-peer-dns=no # Enter 0 as a number if it asks you # Verify, that DynDNS is disabled /ip dns print -
M0r13n created this gist
Jul 4, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ # Temporarily add a normal upstream DNS resolver /ip dns set servers=1.1.1.1,1.0.0.1 # CA certificates extracted from Mozilla /tool fetch url=https://curl.se/ca/cacert.pem # Import the downloaded ca-store (127 certificates) /certificate import file-name=cacert.pem passphrase="" # Set the DoH resolver to cloudflare /ip dns set use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes # Remove the old upstream DNS resolvers /ip dns set servers="" # Delete the certificate file /file remove cacert.pem