-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
DietPi-Software | Unbound: Fixes and enhancements #4022
Conversation
+ DietPi-Software | Unbound: Pre-configure Unbound before installing it to avoid port binding conflicts right from the start + DietPi-Software | Unbound: Install it before installing Pi-hole so that it can be used as upstream DNS directly + DietPi-Software | Unbound: Use port 5335 by default when configuring it for Pi-hole since port 5353 is used for mDNS (Multicast DNS) + DietPi-Software | Unbound: Whenever changing the Unbound port, assure that there is another upstream DNS server configured in /etc/resolv.conf + DietPi-Software | Unbound: Do not overwrite an existing configuration file. Config overrides do not in cases where the setting is allowed multiple times, hence in case of interface (IP bindings) private and allowed IP ranges, users might need to configure our base config, which must be preserved. + DietPi-Software | Pi-hole: When changing the upstream DNS, apply it directly via dnsmasq config and restart FTL to immediately use it. + DietPi-Software | Spotify Connect Web: Enhance uninstall
@ravenclaw900
|
@MichaIng I could replicate same behaviour on my test systems.
looks like unbound is starting to early. Maybe we need to delay service start. one more thing in addition. On my test installation, I installed PiHole + Unbound together. However Unbound was not set as upstream DNS server and on PiHole UI, still the default was set, while customer DNS was empty. I used |
@MichaIng |
Ah, that is true when doing IP binding, network adapters need to be configured. But with |
Done: adee418 About the Unbound + Pi-hole install: If the Pi-hole installer runs, you can enter the Unbound IP there. Do you think in this case it should be automatically added after the Pi-hole installed finished as well? I'm just thinking that it might be an issue if users set upstream DNS within the installer and they end up with a different upstream than what they have just chosen. So currently only when Pi-hole was installed already, the upstream DNS is changed. |
well let me turn around this question. Why do you install unbound if you like to run another upstream DNS on PiHole? Should we probably ask the user at the end of the installation process if he like to set unbound as upstream DNS inside PiHole? |
I mean you're right, we skipped any interactive whiptails on the assumption that it is very unlikely that anyone would install Pi-hole + Unbound without having Pi-hole using Unbound. It just feels strange that one is asked during Pi-hole install to set the upstream DNS, one might invest some lookup and thoughts on this, and afterwards it is simply overwritten 😄. Maybe an info prompt before the Pi-hole installer runs through would be an idea, to inform that the upstream DNS part can be skipped (hit return to proceed with default) since |
probably an idea to offer to PiHole guys, to allow pre-configuration using a config file 😉 |
It was tried, but refused: pi-hole/pi-hole#3589 |
Status: Ready
ToDo:
dietpi-pihole.conf
anddietpi.conf
on DietPi updateTesting:
dietpi-pihole.conf
anddietpi.conf
on DietPi updatedietpi.conf
Commit list/description: