Community discussions

MikroTik App
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 156
Joined: Mon Aug 24, 2020 11:12 am

pihole automatically scrip

Wed Oct 25, 2023 6:57 am

Dear all
I install a pihole on Raspberry Pi4 (pihole IP 192.168.8.217) and I setup DNS setting on Mikrotik RB5009 to Raspberry Pi IP and I setup DNS Server on DHCP Server to pihole and finally I add NAT on Firewall for Raspberry Pi
every things work great BUT If I disconnect Raspberry Pi for any reason the Internet will disconnect also from all clients
Is there any scripts that monitor pihole DNS if it is unavailable It change automatically to 8.8.8.8,8.8.4.4
Best regards
You do not have the required permissions to view the files attached to this post.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1281
Joined: Tue Jun 23, 2015 2:35 pm

Re: pihole automatically scrip

Wed Oct 25, 2023 7:42 am

u got option to add more than one DNS, no need script for that
 
User avatar
Kanzler
newbie
Posts: 40
Joined: Wed Oct 05, 2022 6:55 pm
Location: Ukraine

Re: pihole automatically scrip

Wed Oct 25, 2023 8:21 am

Use Netwatch. It work perfectly. Tools - Netwatch

Who is online

Users browsing this forum: No registered users and 10 guests