I don't think dynamic DNS is needed here. This is simply a standard setup with an MX host that doesn't match the A record for the www entry. I am going to ramble on a bit and show off my configuration. There is nothing special about this but I realize that a lot of people may never have seen a DNS record before or realize how to query this type of information. <br>
<br>MX entries (I use Google apps)<br>dkulinski@vps:~$ dig @localhost +short <a href="http://kulinski.net">kulinski.net</a> MX<br>20 <a href="http://alt1.aspmx.l.google.com">alt1.aspmx.l.google.com</a>.<br>30 <a href="http://alt2.aspmx.l.google.com">alt2.aspmx.l.google.com</a>.<br>
40 <a href="http://aspmx2.googlemail.com">aspmx2.googlemail.com</a>.<br>50 <a href="http://aspmx3.googlemail.com">aspmx3.googlemail.com</a>.<br>10 <a href="http://aspmx.l.google.com">aspmx.l.google.com</a>.<br><br>A record for <a href="http://kulinski.net">kulinski.net</a> and <a href="http://www.kulinski.net">www.kulinski.net</a>:<br>
dkulinski@vps:~$ dig @localhost +short <a href="http://www.kulinski.net">www.kulinski.net</a> A<br>216.22.26.18<br><br>dkulinski@vps:~$ dig @localhost +short <a href="http://kulinski.net">kulinski.net</a> A<br>216.22.26.18<br>
<br>Finally, here are the relevant entries from my bind zone file (@ is an alias to the zone name):<br>@ NS <a href="http://ns1.kulinski.net">ns1.kulinski.net</a>.<br>@ NS <a href="http://ns2.kulinski.net">ns2.kulinski.net</a>.<br>
@ MX 10 <a href="http://aspmx.l.google.com">aspmx.l.google.com</a>.<br>@ MX 20 <a href="http://alt1.aspmx.l.google.com">alt1.aspmx.l.google.com</a>.<br>@ MX 30 <a href="http://alt2.aspmx.l.google.com">alt2.aspmx.l.google.com</a>.<br>
@ MX 40 <a href="http://aspmx2.googlemail.com">aspmx2.googlemail.com</a>.<br>@ MX 50 <a href="http://aspmx3.googlemail.com">aspmx3.googlemail.com</a>.<br>@ A 216.22.26.18<br>ns1 A 216.22.26.18<br>ns2 A 216.22.26.19<br>
www A 216.22.26.18<br><br>Dan Kulinski<br>