Closed
Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
PiHole
π What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/pihole.sh)"
π Provide a clear and concise description of the issue.
When answering N to Unbound is configured as a recursive DNS server by default, would you like it to be configured as a forwarding DNS server (using DNS-over-TLS (DoT)) instead? <y/N>
, before the move to v6, the v5 script would set this up correctly and have 127.0.0.1:5335 as the Custom DNS server, however now it shows the two google IPs

βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
No response
π Steps to reproduce the issue.
π§© Using Advanced Settings on node pve01
π₯οΈ Operating System: debian
π Version: 12
π¦ Container Type: Unprivileged
π Root Password: ********
π Container ID: 151
π Hostname: pihole01
πΎ Disk Size: 20 GB
π§ CPU Cores: 1
π οΈ RAM Size: 1024 MiB
π Bridge: vmbr1
π‘ IP Address: 192.168.1.151/24
π Gateway IP Address: 192.168.1.1
π‘ APT-Cacher IP Address: Default
π« Disable IPv6: no
βοΈ Interface MTU Size: Default
π DNS Search Domain: Host
π‘ DNS Server IP Address: Host
π·οΈ Vlan: Default
π‘ Tags: community-script;adblock
π Root SSH Access: yes
Warning: No SSH key provided.
π Verbose Mode: no
π Creating a Pihole LXC using the above advanced settings
βοΈ Using local for Template Storage.
βοΈ Using local-nvme for Container Storage.
βοΈ Updated LXC Template List
βοΈ LXC Template is ready to use.
βοΈ LXC Container 151 was successfully created.
βοΈ Started LXC Container
βοΈ Set up Container OS
βοΈ Network Connected: 192.168.1.151
βοΈ IPv4 Internet Connected
βοΈ IPv6 Internet Not Connected
βοΈ DNS Resolved github.com to 20.26.156.215
βοΈ Updated Container OS
βοΈ Installed Dependencies
βοΈ Installed Pi-hole
Would you like to add Unbound? <y/N> y
Unbound is configured as a recursive DNS server by default, would you like it to be configured as a forwarding DNS server (using DNS-over-TLS (DoT)) instead? <y/N> N
βοΈ Installed Unbound
βοΈ Cleaned
βοΈ Completed Successfully!
π Pihole setup has been successfully initialized!
π‘ Access it using the following URL:
π http://192.168.1.151/admin
root@pve01:~#
β Paste the full error output (if available).
root@pihole01:~# cat /etc/unbound/unbound.conf.d/pi-hole.conf
server:
verbosity: 0
interface: 127.0.0.1
port: 5335
do-ip6: no
do-ip4: yes
do-udp: yes
do-tcp: yes
num-threads: 1
hide-identity: yes
hide-version: yes
harden-glue: yes
harden-dnssec-stripped: yes
harden-referral-path: yes
use-caps-for-id: no
harden-algo-downgrade: no
qname-minimisation: yes
aggressive-nsec: yes
rrset-roundrobin: yes
cache-min-ttl: 300
cache-max-ttl: 14400
msg-cache-slabs: 8
rrset-cache-slabs: 8
infra-cache-slabs: 8
key-cache-slabs: 8
serve-expired: yes
serve-expired-ttl: 3600
edns-buffer-size: 1232
prefetch: yes
prefetch-key: yes
target-fetch-policy: "3 2 1 1 1"
unwanted-reply-threshold: 10000000
rrset-cache-size: 256m
msg-cache-size: 128m
so-rcvbuf: 1m
private-address: 192.168.0.0/16
private-address: 169.254.0.0/16
private-address: 172.16.0.0/12
private-address: 10.0.0.0/8
private-address: fd00::/8
private-address: fe80::/10
πΌοΈ Additional context (optional).
No response