-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServerIP still required? #956
Comments
I don't think I understand. Can you explain a bit more about what is broken or not working? |
Hi @dschaper, Being new to pi-hole code, at first glance it could be just a matter of fixing what written by logs by adding/removing relevant ENV VARs, at least adding docker-pi-hole/bash_functions.sh Line 220 in 523762e
But... there are other places which look at docker-pi-hole/bash_functions.sh Line 49 in 523762e
I feel that a cleanup should be required to remove the usage of ServerIP in several places, including tests:
Kind of two separate issues: this one to cleanup the logs and another one to actually deprecate HTH, |
Hiya, thanks for opening this issue. I made a similar note about this in a review comment for the PR that added the new
Absolutely agree here! I filed it under "At some point in the future, I'll have the time and energy to sit down and untangle this from the repo" - and am yet to find the time or energy for 😏 |
This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days. |
Hi bot! Based on #956 (comment) I think this could be the issue useful to track the vision of @PromoFaux . HTH, |
Gosh, has it been a month already? I've added the |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pihole-freezing-randomly-apparently/53200/7 |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/local-dns-records-not-resolved-on-mobile-devices/53272/5 |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pihole-not-resolving-it-s-own-hostname/53396/4 |
This issue has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/finding-the-source-of-a-rebind/53449/20 |
I stumbled upon this while I tried to use only non deprecated variables/settings. I need to bind the lighttpd listen address to a virtual eth interface while using docker mode host. With setting ServerIP ENV it works. Readme says it is deprecated so I tried to use REPLY_ADDR4 only. This sets the listen interface to 0.0.0.0 as described by OP. Furthermore I read at https://docs.pi-hole.net/ftldns/configfile/ that REPLY_ADDR4 is also deprecated. That leaves me confused. So, what is now or in the future the correct way to bind the lighttpd to one specific address while using docker host mode? |
I second this. docker-pi-hole readme Line 166 in 72634fc
says to use FTLCONF_REPLY_ADDR4 instead of ServerIP Pi-hole documentation says that REPLY_ADDR4 is deprecated, LOCAL_IPV4 must be used instead |
Thanks, however, for the pointer - I will look at changing the suggested variable to use instead of |
Binding lighthttpd for IPv4 works now with the new Docker image when using FTLCONF_LOCAL_IPV4. But IPv6 is still binding to every IP:
I set FTLCONF_LOCAL_IPV6 and FTLCONF_LOCAL_IPV4 via my docker-compose file. ServerIP is not set. Edit: Typo corrected. |
Hi guys, Edit: Ah, just leaving out the vars completely sets LOCAL_IPV4=0.0.0.0. So that's fine for my use case. |
I stumbled upon this issue because I had no luck setting up pi hole correctly with the given documentation, or any of the information in this issue. I was get pihole to work with my local devices, but the local DNS functionality won't work. I'm confused on how to correctly setup my It seems like there is a lot of conflicting information here. Would anyone mind updating the recommended example docker compose? |
Hello Everyone,
it looks like
ServerIP
is still required, regardless the improvement in #944, documented in https://github.com/pi-hole/docker-pi-hole/tree/3f97e6e4fc37cb7077f336cfa6a048105c0e6867#recommended-variables.These are the logs when starting the new docker image:
This is a: Bug
Details
I assume
ServerIP
to be no more required but logs mention it so either it is still required i.e. not deprecated or logs should be fixed.Related Issues
How to reproduce the issue
2021.12.1
image - it's there since2021-11
ServerIP
withFTLCONF_REPLY_ADDR4
, in the docker-compose you're running fine on2021.10.1
These common fixes didn't work for my issue
docker run
example(s) in the readme (removing any customizations I added)The text was updated successfully, but these errors were encountered: