Hi all,
I've been looking into an error that keeps coming up. The mail container running on our app server isn't delivering email to a mail server on our local network.
When it looks up the destination, it gets our public (external) IP address instead of the internal one. The server's DNS is set to our local DNS server, but the container seems to be ignoring that and resolving to the outside address. Hairpin NAT is turned on, but that hasn't fixed it.
I need the container to use only our local DNS server so it resolves the internal address. not sure what or why the overriding that.
Logs
[image: image.jpeg]
Logs
[image: image.jpeg]
Local system DNS
[image: image.jpeg]