Gandi Wiki


Questions

To add an MX record you need to first log into your domain's control panel, and look down to the DNS management area:

dns.jpeg

Click on "Manage your zone file".

Note:

This only works if you are using Gandi's default DNS (a.dns.gandi.net, b.dns.gandi.net, c.dns.gandi.net). If you are using the DNS of your webhost or another provider, you can only change your MX records via their services, because we do not have access to their DNS servers.

You will now see a table presenting your zone file, and three links above it: 'simple', 'normal', and 'expert'. It is actually easier to use the 'expert' interface, so click on that. You will then see something like this (yours will likely be slightly different):

zonefilev3.jpeg

You will now need to add your desired MX lines.

Here is a model that you can follow (these are for Gandi's MX):

@ 10800 IN MX 10 spool.mail.gandi.net. 
@ 10800 IN MX 50 fb.mail.gandi.net. 

When you are done, click on the "Submit" button on the bottom of the page to continue.

All that remains now is to wait for the changed to take effect, so for this please wait at least 3 hours.

Do you have your own mail servers?

If you have your own mail server (this does not refer to the postfix installed on Gandi AI: that is only for sending mail via php scripts on your forums, websites, etc.) then you will need to:

  1. Create an A record to point a hostname to your server's IP Address
  2. Create an MX record to point to your hostname.

For example, let's say, for example, that:

  1. you installed a mail server on a machine that has an IP address of 123.123.123.123
  2. you want to call your mail server "mail"
  3. your domain name is called "example.com"

You would then need the following records in your zone file for the domain example.com:

mail 10800 IN A 123.123.123.123 
@ 10800 IN MX 10 mail.example.com. 

Note:

You must not forget the dot at the end of your MX record! If you do not add it, then it will not work

Questions

RSS feed for questions matching this filter (Help)

Last modified: 02 Jun 2011 at 21:25 by Michael M. (Gandi)