[dnsdist] Fatal error: binding socket

Pieter Lexis pieter.lexis at powerdns.com
Sun Jan 24 12:51:13 UTC 2021

Hi Sami,

On 1/23/21 5:26 PM, SAMI RAHAL via dnsdist wrote:
> after installing dnsdist an error message appears: "Fatal error: binding
> socket to @ Address already in use"

So something is listening on your system on that IP address and port 53
(or potentially Please use `netstat` or `ss` to figure out
what application listens here.

A comment in your config shows:

> -- accept DNS queries on UDP/5200 and TCP/5200

However, this is not the case in the actual config. If you cange this line

>  setLocal('')



I also see that you set the ACL to, which means (so 1
IP address) if you want to open up dnsdist to all IP addresses (which is
not recommended, please limit to specific subnets), use



Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com

More information about the dnsdist mailing list