FlippinTurt Posted December 25, 2021 Author Share Posted December 25, 2021 On 11/11/2021 at 1:00 PM, hoodust said: nslookup used to reply with my custom hostname, but now always says "pi.hole" C:\ nslookup google.com Server: pi.hole {does not match hostname} Address: x.x.x.x {correct dns ip} Non-authoritative answer: Name: google.com Addresses: 2607:f8b0:4007:810::200e 142.250.72.142 Logs show this as well Nov 10 17:01:28 dnsmasq[471]: query[A] pi.hole from 127.0.0.1 Nov 10 17:01:28 dnsmasq[471]: Pi-hole hostname pi.hole is 10.0.10.4 But hostname in webgui (and everywhere else I look) is "aquahole" root@aquahole:/# hostname aquahole How did you go about changing the hostname, through docker environment variables or within the container itself? Quote Link to comment
FlippinTurt Posted December 25, 2021 Author Share Posted December 25, 2021 On 11/18/2021 at 6:17 AM, Previous said: Thank you for the suggestion, from the console pihole -up gets "Function not supported in Docker images" So no luck there. I am on the latest version of the repo, at least that`s what it shows: flippinturt/pihole-dot-doh:latest Any way to force it to check for updates? or re-download it? edit. OK.. actually my bad.. i was expecting Docker containers were checking for updates on their own, but i actually used the "check for updates" button.. and it showed there is a newer version.. And now everything is updated.. You can setup a task in Unraid to automatically check for docker updates at set intervials Quote Link to comment
Pokora Posted December 25, 2021 Share Posted December 25, 2021 I've been trying to modify the lighttpd.conf to enable use of the admin panel in an iframe. Tried mounting external config for the pi-hole to use. Tried mounting both full /etc/lighttpd/ dir to my share (after copying original files) and just the conf file on its own. No matter what I do, the startup script seem to move the modified file into a .orig copy and create a new one in its place ignoring the external config file. Tried mounting a script to inject the option and placing it in startup (recommended in pi-hole docker github here: https://github.com/pi-hole/docker-pi-hole/issues/327), but I'm getting denied permissions - not sure how to set them up on the script for this to work here. Any idea whether modifying lighttpd.conf is currently possible at all? Quote Link to comment
Slin Posted January 2, 2022 Share Posted January 2, 2022 I’ve just installed this but I am getting a DNS error on my clients. ERR_NAME_NOT_RESOLVED The host IP address of the Unraid server is 192.168.1.10 The IP address of the Pihole docker is 192.168.1.15 The router address is 192.168.1.254 I can ping all the above addresses from my clients. Any ideas?? Quote Link to comment
Stubbs Posted January 8, 2022 Share Posted January 8, 2022 Why isn't this container downloading adlists? Whenever I add them, they just remain greyed out. It worked when I first installed the container, but now they simple don't get downloaded or updated. Quote Link to comment
FlippinTurt Posted January 9, 2022 Author Share Posted January 9, 2022 (edited) On 1/8/2022 at 2:06 PM, Stubbs said: Why isn't this container downloading adlists? Whenever I add them, they just remain greyed out. It worked when I first installed the container, but now they simple don't get downloaded or updated. Have you updated gravity after editing the lists? Edited January 10, 2022 by FlippinTurt Quote Link to comment
iskoala Posted January 12, 2022 Share Posted January 12, 2022 @FlippinTurt Thanks a ton for your support. I just installed this and seem like one issue from this thread is back again [08:24:14.423920] STUBBY: Read config from file /config/stubby.yml Starting cloudflared ./run: line 7: /usr/local/bin/cloudflared: No such file or directory Stopping stubby Stopping cloudflared cloudflared: no process found any suggestions ? Quote Link to comment
FlippinTurt Posted January 12, 2022 Author Share Posted January 12, 2022 (edited) 11 hours ago, iskoala said: @FlippinTurt Thanks a ton for your support. I just installed this and seem like one issue from this thread is back again [08:24:14.423920] STUBBY: Read config from file /config/stubby.yml Starting cloudflared ./run: line 7: /usr/local/bin/cloudflared: No such file or directory Stopping stubby Stopping cloudflared cloudflared: no process found any suggestions ? No worries! The only way I have been able to replicate this is installing testdasi's version ontop of the current version - If possible can you try uninstall pihole-dot-doh (and remove the appdata folder for it) and reinstall? (This error started when cloudflare moved the download location & name of cloudflared - causing the docker builds to miss it) Edited January 12, 2022 by FlippinTurt Fixed english Quote Link to comment
iskoala Posted January 13, 2022 Share Posted January 13, 2022 12 hours ago, FlippinTurt said: No worries! The only way I have been able to replicate this is installing testdasi's version ontop of the current version - If possible can you try uninstall pihole-dot-doh (and remove the appdata folder for it) and reinstall? (This error started when cloudflare moved the download location & name of cloudflared - causing the docker builds to miss it) my bad the real issue here is me 🤦♂️... I got confused and installed testdasi's version instead of yours .... installed yours now works like a charm, much thanks ! 1 Quote Link to comment
devnet Posted January 13, 2022 Share Posted January 13, 2022 (edited) So just installed this after a fresh install of unraid 6.9.2 yesterday. I previously ran pihole doh on vanilla debian managing the container with portainer. I went to update gravity since there are -2 rules on the blocklist. The update times out and gives me the following error: [✗] DNS resolution is currently unavailable [✗] DNS resolution is not available Are there any changes I need to make to get this to work after installing it? Obviously, I changed things like IP and timezone appropriately before installing. EDIT: Searching has yeilded more information on this. It seems this container may not respect the DNS Settings from environment variables and add them to the resolv.conf file in the container. A quick investigation shows that resolv.conf contains 127.0.0.11...which obviously isn't an address we care about at all. So, it's looks like we'll have to manually add extra parameters for the resolv.conf so that it can resolve hostnames... I'm just not sure what to change it to yet...the bottom line is the container won't work out of the box without changing it. Edited January 13, 2022 by devnet Quote Link to comment
devnet Posted January 13, 2022 Share Posted January 13, 2022 2 hours ago, devnet said: So just installed this after a fresh install of unraid 6.9.2 yesterday. I previously ran pihole doh on vanilla debian managing the container with portainer. I went to update gravity since there are -2 rules on the blocklist. The update times out and gives me the following error: [✗] DNS resolution is currently unavailable [✗] DNS resolution is not available Are there any changes I need to make to get this to work after installing it? Obviously, I changed things like IP and timezone appropriately before installing. EDIT: Searching has yeilded more information on this. It seems this container may not respect the DNS Settings from environment variables and add them to the resolv.conf file in the container. A quick investigation shows that resolv.conf contains 127.0.0.11...which obviously isn't an address we care about at all. So, it's looks like we'll have to manually add extra parameters for the resolv.conf so that it can resolve hostnames... I'm just not sure what to change it to yet...the bottom line is the container won't work out of the box without changing it. Resolved this myself. Here's what I had to do.... Turn off VM Service Turn off Docker Service Edit Network settings to NOT use my router first as a DNS server...changed to 1.1.1.1 and added my router second. Saved Turned on VM Service Turned on Docker Service Now the container pulls from the internet just fine...it seems it doesn't like using a router as a DNS server. 1 Quote Link to comment
Stubbs Posted January 18, 2022 Share Posted January 18, 2022 On 1/9/2022 at 9:05 AM, FlippinTurt said: Have you updated gravity after editing the lists? Sorry for the late response. I didn't realize there was a way to manually update the lists by inputting pihole -g into the console. That fixed the issue. Quote Link to comment
Zigfreed Posted January 27, 2022 Share Posted January 27, 2022 Any idea how to get custom cache_size to stick through restart/update? I made the changes in setupVars.conf but it gets overwritten on restart. Quote Link to comment
devnet Posted January 28, 2022 Share Posted January 28, 2022 (edited) 9 hours ago, Zigfreed said: Any idea how to get custom cache_size to stick through restart/update? I made the changes in setupVars.conf but it gets overwritten on restart. In the standard pihole docker it's set as an environmental variable. Not sure if it is in this docker image: https://github.com/pi-hole/docker-pi-hole/tree/dev#environment-variables Edited January 28, 2022 by devnet Quote Link to comment
stuoningur Posted February 5, 2022 Share Posted February 5, 2022 is there a reason some default settings like the interface and advanced dns settings have been changed? Especially the "permit all origins"? Quote Link to comment
newmember Posted March 13, 2022 Share Posted March 13, 2022 Can I have two pi-hole running using the same disk directory location? I want to run two pi-holes for HA. This appears to be running but maybe its not a good idea? Thank you Quote Link to comment
Abigel Posted March 14, 2022 Share Posted March 14, 2022 @FlippinTurtis @testdasi back? Quote Link to comment
devnet Posted March 14, 2022 Share Posted March 14, 2022 1 hour ago, Abigel said: @FlippinTurtis @testdasi back? When mine updated this morning..it pulled from: By: flippinturt/pihole-dot-doh Quote Link to comment
Abigel Posted March 15, 2022 Share Posted March 15, 2022 18 hours ago, devnet said: When mine updated this morning..it pulled from: By: flippinturt/pihole-dot-doh The Repo is the same I am not talking about flippinturt repo, it's about testdasi The flippinturt repo is from testdasi due to no updates but now there is a new update Quote Link to comment
FlippinTurt Posted March 20, 2022 Author Share Posted March 20, 2022 (edited) On 3/15/2022 at 8:05 PM, Abigel said: The Repo is the same I am not talking about flippinturt repo, it's about testdasi The flippinturt repo is from testdasi due to no updates but now there is a new update I have just had a look at the code testdasi is using to install Cloudflare and it looks like it is finally updated - so I would say that yes he has updated his repo. Both mine and his appear to be the same now Edited March 20, 2022 by FlippinTurt 1 Quote Link to comment
Tritech Posted March 24, 2022 Share Posted March 24, 2022 Updated a bunch of stuff yesterday, and have everything on my router pointed to pihole and I got rate limited. "Client 192.168.1.1 has been rate-limited (current config allows up to 1000 queries in 60 seconds)" Is there a way to edit the this via the GUI? Quote Link to comment
FlippinTurt Posted March 27, 2022 Author Share Posted March 27, 2022 On 3/25/2022 at 2:15 AM, Tritech said: Updated a bunch of stuff yesterday, and have everything on my router pointed to pihole and I got rate limited. "Client 192.168.1.1 has been rate-limited (current config allows up to 1000 queries in 60 seconds)" Is there a way to edit the this via the GUI? Unfortunately not, however you can edit it by opening a console into the docker; Click the docker, click console nano /etc/pihole/pihole-FTL.conf and check out the pihole documentation for explanation on the ratelimit setting https://docs.pi-hole.net/ftldns/configfile/#rate_limit Essentially, you can set 'RATE_LIMIT=0/0' to disable rate limiting, or you can play around with the default RATE_LIMIT=1000/60 Quote Link to comment
ibasaw Posted April 14, 2022 Share Posted April 14, 2022 hi since few days, here what i got in the logs, and the admin page is not responding Please ensure that the container has the required capabilities. [cont-init.d] 20-start.sh: exited 1. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] 01-resolver-resolv: applying... [fix-attrs.d] 01-resolver-resolv: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 05-changer-uid-gid.sh: executing... [cont-init.d] 05-changer-uid-gid.sh: exited 0. [cont-init.d] 20-start.sh: executing... ::: Starting docker specific checks & setup for docker pihole/pihole WARNING: Unable to set capabilities for pihole-FTL. Please ensure that the container has the required capabilities. [cont-init.d] 20-start.sh: exited 1. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. ++ Quote Link to comment
Civic1201 Posted April 14, 2022 Share Posted April 14, 2022 (edited) Quote ERR failed to connect to an HTTPS backend "https://1.1.1.1/dns-query" error="failed to perform an HTTPS request: Post \"https://1.1.1.1/dns-query\": read tcp 192.xxx.xx.xx:40456->1.1.1.1:443: read: connection reset by peer" Any ideas how to solve that issue? After container restart it will work fine but error(s) will come back. Thank you! Edited April 14, 2022 by Civic1201 Quote Link to comment
ibasaw Posted April 16, 2022 Share Posted April 16, 2022 i had switched to testdasi/pihole-dot-doh:latest to make it work again ... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.