Right In The Pi-hole
From Rabbi Blog
Ran into issues with ubuntu-26.04-standard container in ProxMox in regards to dig: there was no output. Tested 22.04 and it worked. Resorted 25.04.
Setup
Pi-hole
sudo apt update && sudo apt upgrade -y sudo apt install curl -y sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo rm /etc/resolv.conf echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
Selections
Do the setup questions...
Password
pihole setpassword
URL
Go to http://IP:80/admin and login