<html>
<head>
<style>
 .sw_message P{margin:0px;padding:0px;}
 .sw_message {FONT-SIZE: 12pt;FONT-FAMILY:Tahoma,Arial,Helvetica,sans-serif;background:white;}
 .sw_message blockquote{margin-left:5px;padding-left:5px;border-left:2px solid #144fae;color: #144fae;}
 .sw_message blockquote blockquote{border-left:2px solid #006312;color: #006312;}
 .sw_message blockquote blockquote blockquote{border-left:2px solid #8e5656;color: #8e5656;}
 .sw_message blockquote blockquote blockquote blockquote{border-left:2px solid #888;color: #888;}
</style>
</head>
<body class="sw_message">
My setup is as follows:<br><br>All servers are Centos 7 x86_64 running under VMware ESXi 5.1. <br> <br>My DNS/firewall running PDNS 3.4.1 and PDNS-RECURSOR 3.6.2 has 2 NICs. 1 has one static public IP (79.142.xx.yy), and the other is on my LAN (192.168.3.1/24). <br> <br>The IP in my DNS for the mail server is the public, and ports are then forwarded. <br> <br>mail server is at 192.168.3.50 <br> <br>internal PDNS-recursor (3.6.2) with a Lua script to change address to LAN address is located at 192.168.3.51, <br>and it's the only DNS specified in all workstations network setup. <br> <br>It works like a dream for everybody BUT Windows 7. <br>Android, Linux and Windows XP all get the LAN address when asking for mail.example.com, but Windows 7 gets the public address. <br> <br>I can see in logging in the Lua script that the Windows 7 machine asks for the name, and Lua returns the LAN address, <br>but Windows 7 still gets the public IP. <br> <br>Any ideas to why? <br> <br>I'm also running Samba on the PDNS-recursor to let Windows access the NAS shares, but there's no wins defined anywhere, <br>and the firewall / auth dns is not running Samba. <br> <br>Kind regards, <br>Henrik Woffinden <div> </div><br><br><br><div id="editor_signature"></div> 
</body></html>