Running an ubuntu 23.04 server with latest pi-hole in a docker container, everything up to the date.
From what I've read, I believe that the ip of my raspberry pi should be used as the dns server for my devices.
Actual Behaviour:
Using the ip of my raspberry pi as the preferred dns server causes all pages to say "dns could not be resolved".
This issue is fixed using my ISPs default dns servers or any others.
This is the docker-compose file I used, the ports are changed because I was getting an error saying that the original ports were already in use when trying to run the container.
Port 53 is the standard port for DNS, i.e. all clients will use that port for DNS requests.
Even in theory, remapping port 53 could only be successful if you would be able to configure each and any client in your network to refrain from using port 53 for DNS, resorting to your chosen 5053 instead.
sudo docker-compose up -d
[sudo] password for server:
Recreating pihole ...
Recreating pihole ... error
ERROR: for pihole Cannot start service pihole: driver failed programming external connectivity on endpoint pihole): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use
ERROR: for pihole Cannot start service pihole: driver failed programming external connectivity on endpoint pihole: Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use
ERROR: Encountered errors while bringing up the project.
How would I go about fixing this error?
This is the only container running in docker and I used a clean installation of the ubuntu server and only installed docker and pihole so I'm not sure what else is using those ports