Closed hfagelnour closed 4 years ago
Did you complete the steps for the onboot script and add one to automatically start pihole at startup? https://github.com/boostchicken/udm-utilities/tree/master/on-boot-script
Did you complete the steps for the onboot script and add one to automatically start pihole at startup? https://github.com/boostchicken/udm-utilities/tree/master/on-boot-script
yes podman start pihole
@hfagelnour you should never have to run the "podman run" command again. It already exists. Your on boot script should just be podman start pihole. Also, podman start pihole from the command should just work. What error is it giving?
@hfagelnour also make sure you update 10-dns.sh. You need to give it the container name pihole
Change nextdns to pihole.
Also, you will not need a custom on_boot.d script if you use the 10-dns.sh
@hfagelnour also make sure you update 10-dns.sh. You need to give it the container name pihole
Change nextdns to pihole.
Yeah, that's gotta be it.
Also, you will not need a custom on_boot.d script if you use the 10-dns.sh
Ha, I forgot that was baked into this script. Nice.
@hfagelnour also make sure you update 10-dns.sh. You need to give it the container name pihole https://github.com/boostchicken/udm-utilities/blob/49e3dccf1420b9fc7753d7f99d3ab5af370f4c8d/dns-common/on_boot.d/10-dns.sh#L27-L28
Change nextdns to pihole.
Yeah, that's gotta be it.
Also, you will not need a custom on_boot.d script if you use the 10-dns.sh
Ha, I forgot that was baked into this script. Nice.
@SturdyErde @boostchicken thx so much for the help, creating the custom on_boot.d script fixed it. now my next problem is probably a UDMP controller setting. all DNS queries are registered on the pihole as being requested by only one IP (10.0.5.1) although it is resolving for the whole network. i used (10.0.5.3) as the DNS for the local networks in the controller network settings. which setting do i need to change?
Change the DNS server setting on your WAN network to the IP address of your Pihole. This is how it will be used for name resolution of outgoing DNS queries.
Correct but all queries appear as it is coming from the gateway all together instead of per client on the network.
Sent from my iPhone
On Jul 20, 2020, at 3:57 PM, SturdyErde notifications@github.com wrote:
Change the DNS server seeing on your WAN network to the IP address of your Pihole. This is how it will be used for name resolution of outgoing DNS queries.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
That probably means your DHCP settings are telling each client to use the router/gateway as their DNS server. Check your DHCP options for a DNS and point them to the IP address of your pihole.
not really ..... all clients point to the UDMPihole as their DNS server as u mentioned ... this is probably a wrong setting in the UDM it self. will look into it and come back to you. i cant thank you enough for the help
@hfagelnour get the latest 10-dns.sh. It fixes that problem.
It did, thx so much
Sent from my iPhone
On Jul 21, 2020, at 4:13 AM, John D. notifications@github.com wrote:
@hfagelnour get the latest 10-dns.sh. It fixes that problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
pihole didn't start after reboot and when i try to reinstall i get this " podman run -d --network dns --restart always \