Please Help with DNS and MX for Dynamic DNS

fanusj

Well-Known Member
Joined
Aug 11, 2003
Messages
183
Reaction score
53
Location
Faerie Glen, Pretoria
Let me ask the experts.

I want to run a Mailman listserver on a Ubuntu server that is at home on an ADSL link.

I have installed all the required software, and it is functional. (Postfix, Apache2 and MailMan)

I have also registered the server with DynDNS and installed ddclient. I can ping my server with the DynDNS hostname and I can access the Apache based Mailman admin page via the DynDNS hostname.

Now my question : How do I setup MX records to direct mail to the Postfix server on my server.

I have a small Hetzner hosting account for a local domain say abc.co.za. Of course it has its own mailserver component and mail to any address at abc.co.za is working.

How do I create either a subdomain (say list.abc.co.za) or direct mail to the Mailman server for example mail to [email protected] ?

Please advise a strategy.

Thanks

Fanus
 
Easy.

I assume you created a name on DynDNS for this dynamic IP?

Now login to DynDNS, create an MX record and where it wants th IP, just put the domain name you created.

Example:
You created dynamic DNS of joe.bloggs.com which points to your ADSL IP

Now create an MX record in the same place, but point it to joe.bloggs.com - so everytime someone looks up your MX records they get the dynamic IP.

BUT, a word of caution, if your DSL is down, or your DSL IP changes and DynDNS didnt update quickly (usually takes 5 mins) mail coming to you will bounce since you IP has changed.

best way around that is to use a mail backup/cache server. you can get em cheap from www.zoneedit.com or just google for a backup email queue service. Set it as PRIMARY since they are always online, and then tell it to forward to your dynamic name.

PS - Sooner or later this will cost money to make i work. Which is why you should consider Google Apps hosting of your email, it works, it works well, and its free.
 
Thanks Rurapente for the reply but I cannot create the MX record on DynDNS. It keeps on telling me that MX should resolve to A or AAAA record. Not sure why that is the case as I would think that my host record is an A type (and not a CNAME).

Please advise.
 
hmmm did you create the dynamic name as an A record? not a cname?

PM me the domain name lemme check.
 
Easy.

For example lets say your dynamic hostname is: abc.dyndns.org and that is the page you can reach.

Make a MX record called:

list.abc.co.za MX 10 abc.dyndns.org

Simple as that, then all mail sent to *@list.abc.co.za will find the abc.dyndns.org mail server via that MX record.
 
yes but he's saying it wants a name with an A record. It doesnt seem to think whatever he's calling the dynamic hostname is an A record. which is odd.
 
UI on DynDNS does not allow me to create the MX

I think the problem lies with the User Interface page on DynDNS.

My server host record is definitely an A record. There is an option on the Host Services panel to configure Mail Routing and then asks for the MX host name. Upon entering the host name defined it complains that it should be a A or AAAA type record.

I dont know how to create the MX record any other way on DynDNS.

Thank you for your answers so far.

Fanus
 
Hmm so the question is, what type of record do dyndns uses, its not a CNAME perhaps? If it is find out what the CNAME points to, which has to be an A record.

Can you give us the actual dyndns name then we can test for you.
 
tinuva, i think the confusion here, is that he has a dyndns name. but the domain he actually wants mail for, is not on dyndns. I fathom its on another, possibly the Hetzner hosting account. (for domain abc.co.za)

So he needs to edit the abc.co.za domain on the Hetzner panel, and change the MX record to the dyndns hostname.
 
Hi guys

I have tried to add another MX record on my Hetzner panel - I actually created mailman.abc.co.za with a priority of 10 to route to the dynamic address. But when you send mail to say [email protected] it comes back as unroutable.


I was hoping to get it working as a subdomain under my existing abc.co.za domain, but any other domain is also OK as long as I can get the damn thing to work.

Thanks for your help

Fanus
 
Zoneedit supports dynamic ip address updating and is a fully featured DNS host,maybe give them a look
 
Top
Sign up to the MyBroadband newsletter
X