Pi-hole is a DNS server that is used to filter out advertisements and other unwanted content on a network-wide level.
By default, Pi-hole is configured to bind to
0.0.0.0 on port 53. While this configuration should work out of the box for many people, if you encounter issues with this, it is recommended that you set the
PIHOLE_SERVERIP variable to your server's IP address (e.g. 192.168.1.5). If you still encounter difficulties getting Pi-hole to work, you may need to disable or reconfigure any conflicting services running on port 53, such as
systemd-resolved. Although this is a more advanced configuration, you can also configure systemd-resolved to not listen on port 53 by setting