hi pals, i just finished installing my pihole with ubound in an instance on my proxmox server and connect it to my raspi openwrt´s router for all my network, also install gravity sync to synchronize all my black and white lists, domains, dns ´s, clients and other data with a 2nd instance of pihole also with unbound in another instance of my proxmox server, so that when for some reason the main pihole crashes or stops working; the secondary pihole works automatically and thus prevents my network from 'running out of internet'.
the problem I am having is that when testing, despite having added the secondary pihole to my raspi openwrt router, when I turn off the main pihole, the openwrt does not take the secondary pihole as the dns server so 'there is no internet throughout my network.
I don't think the problem is in any of the pihole's, but probably in the configuration in my openwrt.
Could someone help me figure out where I'm doing it wrong?
I leave a screenshot of: the main pihole configuration, the secondary pihole configuration and the openwrt configuration as well as others
pihole´s proxmox instances
main pihole
secundary pihole
pihole´s
main pihole
secundary pihole
pihole´s stats
main pihole
secundary pihole
pihole config´s
main pihole
secundary pihole
openwrt config: DHCP and DNS > General Settings > DNS Forwardings
openwrt config: Interfaces > WAN 1 > Edit > advanced settings > Used DNS server advertised by peer and Use custom DNS server
(note: something strange happens here, the fisrt time when i put the pihole ip x.x.x.39 at the beginning and the secundary pihole x.x.x.42, the network took the ip x.x.x.42 as the main dns server and the x.x.x.39 as the secundary)
openwrt config: Iterfaces > LAN > Edit > DHCP server > Advanced settings > DHCP options
windows config and ipconfig /all
I hope that someone who knows or who has experienced this before can help me and at the same time this thread can help others who may experience the same thing since I have searched for it on the net and I have not found anything similar, thanks