junior120872
Regular Contributor
Do you use keepalived between them, or do you just use them as DNS1 and DNS2?I'm doing this as well.
Do you use keepalived between them, or do you just use them as DNS1 and DNS2?I'm doing this as well.
I'm using them as DNS1 and DNS2, but they're configured identically. I was unable to indicate the actual Raspberry Pi devices in my signature due to the character limitation.Do you use keepalived between them, or do you just use them as DNS1 and DNS2?
Do you see DNS resolution errors when one of them are down? I ended up having to use keepalived with a virtual ip address between the two, to prevent issues with resolution during maintenance of one of the machines (hardware, software).I'm using them as DNS1 and DNS2, but they're configured identically. I was unable to indicate the actual Raspberry Pi devices in my signature due to the character limitation.
Edit: Signature updated.
No, never experienced resolution issues...thankfully.Do you see DNS resolution errors when one of them are down? I ended up having to use keepalived with a virtual ip address between the two, to prevent issues with resolution during maintenance of one of the machines (hardware, software).
That's all that comes to my mind:
Code:pihole debug # upload when asked netstat -tulnp | pihole tricorder cat /etc/dnsmasq.conf | pihole tricorder
You could probably use wan-event script to just reload Pi-hole when reconnect happens if we can't get this fixed any other way
Correct, listeningmode is set to LOCAL, I'll leave it as such until it properly goes down like last time (hopefully never again lol) and collect the logs again to see if anything does come up.Other than errors indicating that network is unreachable when trying to connect to upstream DNS (1.0.0.1) there is nothing useful there.
I assume you have listeningMode set to LOCAL, you might try setting it to ALL (and make sure you don't open port 53 in your router), maybe when the reconnect happens router changes something with the interfaces and Pi-hole uses old references or something, this is unlikely but maybe possible.
I see you have a tailscale, when this issue happens does the Pi-hole DNS still works when accessed through VPN?

Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!