Skip to content

Solved: Unable to bind UDP socket to ‚0.0.0.0:53‘: Address already in use

Dr. Simon Antony Roberts edited this page Aug 8, 2019 · 6 revisions

System: Ubuntu 18.04 mit PowerDNS

Task: PowerDNS starting

Cmd: systemctl start pdns

Error: pdns Service startet nicht, journalctl -xn zeigt

Unable to bind UDP socket to ‚0.0.0.0:53‘: Address already in use

Solving:

$ systemctl stop systemd-resolved.service

$ systemctl disable systemd-resolved.service

$ systemctl enable pdns

The other thing to do is edit /etc/powerdns/pdns.conf and change the binding port of IPv4 from 0.0.0.0 to 127.0.0.1 as well as the binding port of IPv6 from :: to ::1

Clone this wiki locally