Community discussions

MikroTik App

Search found 3 matches

by hollerauer
Fri Jan 22, 2021 9:23 am
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 53
Views: 26876

Re: [Script] Automatically change DNS if Pi-hole is no longer working

I've sucessfully used PiHole to improve my ad-situation and have been trying to use some sort of script to have working failsafe in place in case my Pi is not running. I am not seeing Mikrotik for the first time, but I am quite new to scripting. You can get the number of DHCP server which use pihol...
by hollerauer
Thu Jan 14, 2021 9:14 pm
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 53
Views: 26876

Re: [Script] Automatically change DNS if Pi-hole is no longer working

Without using the fallback script yet: the NAT rule does not work as expected. You are correct. That's what I meant with $YourFavoritePublicDNSServers$ = e.g. 1.1.1.1, 1.0.0.1, etc. Scenario 1-modified to support a fallback (without the actual script yet): I change IP > DNS to 1.1.1.1 (necessary fo...
by hollerauer
Wed Jan 06, 2021 1:52 pm
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 53
Views: 26876

Re: [Script] Automatically change DNS if Pi-hole is no longer working

!! Due to sporadic failures (in my installation) affecting DNS-queries it is NOT advised to use the proposed configuration in PRODUCTIVE environment. This post will be updated after problem is fixed!! I've wrote a script that detects when Pi-Hole is no longer working, and automatically switches to ...