<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Docker Mail Server not use local DNS]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Logs<br />
<img src="/assets/uploads/files/1795127251642-53fd0aa9-b864-46d0-b816-52236309fc1b-image-resized.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" width="1200" height="121" /><br />
Logs<br />
<img src="/assets/uploads/files/1795128433809-959ab34f-d171-4927-aa62-549d944d09c4-image-resized.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" width="1866" height="180" /><br />
Local system DNS<br />
<img src="/assets/uploads/files/1795128514809-a6af6fd7-243f-468d-a50e-d64a85fdb43c-image.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" width="849" height="642" /></p>
]]></description><link>https://forum.cloudron.io/topic/16321/docker-mail-server-not-use-local-dns</link><generator>RSS for Node</generator><lastBuildDate>Fri, 20 Nov 2026 01:25:30 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16321.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Nov 2026 23:34:36 GMT</pubDate><ttl>60</ttl></channel></rss>