Configuring your zone for a custom mail server
If you have successfully created and configured your own mail server and need to link it to a domain name:
- Create an MX record to point to your hostname.
For example, let's say, for example, that:
- You installed a mail server on a machine that has an IP address of
- You want to call your mail server
- Your domain name is called
You would then need the following records in your zone file for the domain
mail 10800 IN A 18.104.22.168 @ 10800 IN MX 10 mail.example.com.