Skip to content
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

README 📝 add details for custom DNS provider(s) + renamed deprecated environment variable 'DNSx' to 'PIHOLE_DNS_x' #71

Open
wants to merge 44 commits into
base: master
Choose a base branch
from

Conversation

thomasmerz
Copy link

This PR add some more details for custom DNS provider(s) and adds some help how to choose the fastest and most reliable one (after you've chosen some that care for "independence and privacy"). One deprecated environment variable (DNSx) is also renamed to the new variable (PIHOLE_DNS_x).

IAmStoxe and others added 13 commits September 29, 2020 08:39
Disable use-caps-for-id

Disable num-thread specification

Add so-rcvbuf
Which leads to Pi-hole incorrectly resolve pi.hole
Verbosity Level to only log errors accoring to the documentation at https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html#term-verbosity-number is 0. The original conf logged operational info as well.
Fix ServerIP env for Pi-hole in compose
fix unbound's verbosity level & a typo
Minor typo in issue URL in README.md
@thomasmerz
Copy link
Author

@IAmStoxe , please review and merge. Thanks!

@@ -65,8 +65,8 @@ services:
TZ: "America/Los_Angeles"
WEBPASSWORD: "" # Blank password - Can be whatever you want.
ServerIP: 10.2.0.100 # Internal IP of pihole
DNS1: 10.2.0.200 # Unbound IP
DNS2: 10.2.0.200 # If we don't specify two, it will auto pick google.
PIHOLE_DNS_1: 10.2.0.200 # Unbound IP
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not over-write DNS as this is used by the container, not pihole.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exactly my setup with https://github.com/pi-hole/docker-pi-hole and docker-compose and it works as expected:

etc-pihole/setupVars.conf
13:PIHOLE_DNS_1=45.90.28.39
14:PIHOLE_DNS_2=45.90.30.39
15:PIHOLE_DNS_3=2a07:a8c0::75:86b2
16:PIHOLE_DNS_4=2a07:a8c1::75:86b2

Please have a look at:
https://github.com/pi-hole/docker-pi-hole#optional-variables
https://github.com/pi-hole/docker-pi-hole#deprecated-environment-variables

docker-compose.yml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants