Community discussions

MikroTik App
 
ros44
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 74
Joined: Sun Feb 25, 2018 2:05 am
Location: Sofia, Bulgaria

DoH and a script for reverting to Do53

Sun Mar 28, 2021 11:42 pm

It seems that when DoH is enabled all other DNS servers in the settings are not used even if the specified DoH server stops responding.
Is my observation correct?

If my observation is correct and considering that:
- DoH is a new feature (for me) and may not work as expected
- and there is no option to add a second DoH server
I want to write a small scheduled script that will be disabling the DoH sever so that all other Do53 servers become active. Or not disabling it but changing it with different provider.

Can someone advise how can I check in a script if DoH is not working? May be using the resolve command with a hostname that has a very low ttl value (so that no cache is used) will do the job. But how can I check the result of the resolve command?

Any other thoughts on settings that are more durable are also welcome! Thank you!

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], IvanEffiz, kolinsmk, voytecky and 97 guests