Closed protvis74 closed 5 years ago
The bind server in the docker container has the ip address 172.18.0.3.
From my understanding, the docker ip range 172.xx.0.0/16
is available to the host machine itself.
I do not think you should expect it to be reachable from any 192.168.0.0/24 address (different subnets entirely).
I think you have an error in your docker-compose:
192.168.0.70:10053:10053/udp
should be 192.168.0.70:10053:53/udp
?
After this change I would expect the DNS to be available on 192.168.0.70:10053.
I know this is a late response. Have you solved this already? If so, maybe update this issue to reflect that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello, I successfully created the bind container on my raspberry pi. I have setup a domain and zones as shown in the blog post http://www.damagehead.com/blog/2015/04/28/deploying-a-dns-server-using-docker/
docker compose.yml file:
My raspberry host has the ip address 192.168.0.70. I can access the webmin interface via webrowser https://192.168.0.70:10000. Client has Ip 192.168.0.x.
The bind server in the docker container has the ip address 172.18.0.3. From my Raspberry host (192.168.0.70) ssh session I can ping the bind server.
Querying the bind server is also working.
I can also ping the wp client (192.168.0.40).
From the wp maschine i can't reach the bind server.
Also from another client in the 192.168.0.x range i can't ping / reach the bind server.
Network interfaces on the raspberry host / docker maschine:
Docker network:
Can someone give me a hint what's wrong with my network configuration? What must I do that I can use the nameserver from the other clients and not only from my Raspberry with the docker containers?
Thank you.