unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.93k stars 419 forks source link

Feature request: UDM Pro 3.x, nspawn-container -> Pihole + Unbound #560

Open shaft8472 opened 1 year ago

shaft8472 commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to be able to use unbound with my Pi-hole installation on the UDM Pro.

UDM Information

I've installed an nspawn-container using an isolated MacVLAN network (Followed this guide: https://github.com/unifi-utilities/unifios-utilities/tree/main/nspawn-container#step-2a-configure-the-container-to-use-an-isolated-macvlan-network) and Installed Pi-hole (followed this guide: https://github.com/unifi-utilities/unifios-utilities/blob/main/nspawn-container/examples/pihole/README.md)

Describe the solution you'd like Here's a guide: https://github.com/unifi-utilities/unifios-utilities/tree/main/unbound This describes how to install unbound in an older configuration or with podman. I would like for this to be updated so I can use unbound again.

Describe alternatives you've considered The above solution creates 2 containers, which would be fine. I've previously used https://github.com/chriscrowe/docker-pihole-unbound which has everything in one container.

I'm content with performing manual updates for both components and don't require an all-in-one solution. Being self-reliant in managing updates is important to me.

Additional context I'm very happy with the way I have everything configured now. This would be the cream on the cake. :-)

pedropombeiro commented 1 year ago

@shaft8472 I upgraded to UniFiOS 3.1 this weekend, and ended up installing both Pi-Hole and Unbound/Unbound-exporter in the same nspawn container (debian-dns). You can see the changes here: https://github.com/pedropombeiro/udm-pro/commit/ca4643fb3e370c895954a66b849757a56fcc571d