'DNS ERROR resolving MX

I'm installing Zimbra Collaboration Server on my local machine to test them mail server. During installation I got error:

DNS ERROR resolving MX for my.local.domain
It is suggested that the domain name have an MX record configured in DNS

I don't have experience with zimbra or mail serwer. In Internet I found incomplete solutions like:

Add this record to config:
 server1      IN      MX      10    server1.tm.local.

but I don't know where exactly should I add this or how to proper config mail server.

My question is, how to proper config dns to work with zimbra?



Solution 1:[1]

You can install zimbra without MX record but A record of the hostname must be resolved on installation you have to set a hostname with :

#hostname server1.yourdomain.com

edit /etc/hostname and enter "server1" edit /etc/hosts by adding : ip-address server1.yourdomaine.com server1

test it by pinging server1.yourdomaine.com

restart the install when zimbra tell you if want to change mx record answer by NO

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Malik Benmekki