Mikrotik DNS Resolution Detection
I have a weird issue with a network device doing nat/dhcp deciding to randomly not resolve DNS.
When the issue occurs there is still internet connectivity, just can’t resolve hosts.
What I want to do is hang a mikrotik router off this device so it will grab an ip and dns settings from it dynamically.
Then soon as the device has an issue with DNS, the mikrotik will too.
I tried using netwatch tied to a simple interface shutdown scrip, but when I put the host name in to monitor it just
converts the host name to an ip automatically in the setting box…
Is there a way to write a script to shut down an interface on the mikrotik when DNS fails to resolve?