This is incorrect, the format should be as follows:
Originally Posted by dmenden
127.0.0.1 localhost.localdomain localhost
my.ip.add.149 mail.mydomain.org mail
This is not the command I asked you to run, I want the output of the following:
[root@mail ~]# dig mail.mydomain.org any
;; ANSWER SECTION:
mail.mydomain.org. 3600 IN A my.ip.add.149
mail.mydomain.org. 3600 IN MX 10 mail.mydomain.org.
using your domain name and not the FQDN of your server.
dig yourdomain.com any
dig yourdomain.com mx
That's also not the command I asked you for, I want you to run the exact command I gave you with no changes (i.e. do not add your hostname).
[root@mail ~]# host mail.mydomain.org
mail.mydomain.org has address my.ip.add.149
mail.mydomain.org mail is handled by 10 mail.mydomain.org.