Guys, I am new in script of RouterOS. I would like to know if is possible to do um script .
Today I have one linux running my DNS server (bind9) on ip 192.168.1.2.
I would like to have a script to ping this server each minute, in case it down, I new to change the dns servers on my mikrotik (192.168.1.1), I would like to take out the DNS Servers of /ip dns and set the property /IP dhcp-client USE PEER DNS.
So this would work in case my dns server is down, correct ?
Is there another way to do this ? I 've tried to set up the 2nd and 3rd server as 188.8.131.52, 184.108.40.206, but when I unplug my linux server, mikrotik don't go to the 220.127.116.11....
As my linux server has squid too, this would like to use to fix the proxy in case its down, so I would have to DISABLE the rule in firewall that sends all the traffic on port 80 to the squid.