Hi,
When I’m trying to setup my PiHole, it says that port 53 is in use already. I’ve seen fix online like running
sudo incus network set incusbr0 raw.dnsmasq="port=5354"
but it does not work for me
systemd-resolve service also do not exist
For more info, I have Jellyfin, Tailscale and minecraft server (not running) set-up
[2025/07/22 00:51:49] (ERROR) app_lifecycle.compose_action():56 - Failed ‘up’ action for ‘pihole’ app: Network ix-pihole_default Creating\n Network ix-pihole_default Created\n Container ix-pihole-pihole-1 Creating\n Container ix-pihole-pihole-1 Created\n Container ix-pihole-pihole-1 Starting\nError response from daemon: driver failed programming external connectivity on endpoint ix-pihole-pihole-1 (e7e3528d4f8d68d21cf80ae97bbd833fb1b0ec28b2550b85149226ceeb550e7a): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use\n
sudo ss -tulpn | grep ‘:53’
udp UNCONN 0 0 127.0.0.54:53 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=20))
udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=18))
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:((“avahi-daemon”,pid=3919,fd=12))
udp UNCONN 0 0 10.164.181.1:5354 0.0.0.0:* users:((“dnsmasq”,pid=9481,fd=6))
udp UNCONN 0 0 0.0.0.0:5355 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=11))
udp UNCONN 0 0 [::]:5355 [::]:* users:((“systemd-resolve”,pid=5904,fd=13))
tcp LISTEN 0 4096 0.0.0.0:5355 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=12))
tcp LISTEN 0 5 192.168.50.127:5357 0.0.0.0:* users:((“wsdd.py”,pid=4573,fd=9))
tcp LISTEN 0 32 10.164.181.1:5354 0.0.0.0:* users:((“dnsmasq”,pid=9481,fd=7))
tcp LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=21))
tcp LISTEN 0 4096 0.0.0.0:53149 0.0.0.0:* users:((“tailscaled”,pid=7112,fd=16))
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:((“systemd-resolve”,pid=5904,fd=19))
tcp LISTEN 0 4096 [::]:5355 [::]:* users:((“systemd-resolve”,pid=5904,fd=14))
sudo lsof -i :53
lsof: no pwd entry for UID 997
lsof: no pwd entry for UID 997
lsof: no pwd entry for UID 997
lsof: no pwd entry for UID 997
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lsof: no pwd entry for UID 997
systemd-r 5904 997 18u IPv4 18687 0t0 UDP 127.0.0.53:domain
lsof: no pwd entry for UID 997
systemd-r 5904 997 19u IPv4 18688 0t0 TCP 127.0.0.53:domain (LISTEN)
lsof: no pwd entry for UID 997
systemd-r 5904 997 20u IPv4 18689 0t0 UDP 127.0.0.54:domain
lsof: no pwd entry for UID 997
systemd-r 5904 997 21u IPv4 18690 0t0 TCP 127.0.0.54:domain (LISTEN)