hi pals I am trying to understand this pihole server with unbound in my proxmox and I have already mounted my 1st test and it has worked for me as it says, very well
so i want to use pihole for more than ads blocking, i wan to use it as my local dns server
Now I have just installed another instance one that will be the one I use throughout my network through my openwrt router, as a local dns server.
but despite the fact that I configure the Conditional forwarding in DNS of setting of pihole, I do not get the names of the devices of my network, I wish someone could tell me what I am doing wrong and how can i fix it thanks
I put some captures of the 1st pihole with some devices added manually and screenshots of my 2nd pihole (the final one) in addition to the configuration of my dns server configĀ“s openwrt router
I must say that when I added the ip of my local dns server (pihole ip's) in NETWORKS > DHCP and DNS > dns forwards, the openwrt didnt take the configuration and the network didnt see any change.
only when I add the ip of my local dns server in INTERFACES > WAN > EDIT > ADVANCE CONFIGURATION > Use custom DNS servers, the openwrt does take the configuration and all the changes in the network devices are seen.
however, the explanation for what you were seeing is this:
all of the DNS lookups to the Pihole were actually originating from the OpenWrt router itself, on behalf of the clients behind it. In other words, the hosts on your network would ask the router for name resolution and the router will then ask the PiHole. By setting option 6, you ensure that the hosts directly ask the pihole for DNS.
@stmtpr - are you a fan of the department of the redundancy department?
emphasis added...
Did you mean to ask why the OP is using OpenWrt as the DHCP server when the PiHole could do this task? Fair question, but it's not uncommon for users to prefer the router as the DHCP server even if they offload the DNS.
looks good. Keep in mind that the hosts on your network need to renew their DHCP leases before you will see them making direct DNS requests to the pinhole.
yeeah it work thanks bro!now i got my recursive DNS server in-sync with my 2nd bakcup dns local server with gravity sync and statistics all working smoothly