December 30, 20241 yr Hello everyone, I have something weird happening on my dockers. When I reboot my server, for instance after an update, when all dockers are getting started, the DNS ip for my server get either resolved for the external ip or the internal ip. When they have the external ip, if I reboot the docker, it will then have the internal ip. For some context, my network is as follow: PFSense as router, firewall and dns resolver. In PFSense, I have multiple alias for my domain: DNS Server for unraid is set to my pfsense. I also have 2 pihole, one on this unraid and one on another unraid server. Both pihole are synced together and resolve to my router. Devices on the network received these 2 pihole as DNS. Looking at my docker configuration, they all use unraid server host as the DNS (except for those on eth0 but that's ok). Now, when my docker boot, if I ping into a terminal session, some will resolved to the external ip, others to the internal ip. For exemple, authelia on left, mosquitto on right Both are using my-bridge as connection The order in which they boot doesn't seems to change anything. PiHole is already up and running in the stack, but it's also already running on the 2nd server. Even there, I can close piholes on both server and dockers will still work since I'm not using pihole for the dockers but my pfsense. So I don't get why it resolved to the internet ip when everything point to a local ip...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.