0

Setting up some service on my server. DNS/DHCP/Gateway ok for my own local network. Planning to host a web mail server (working on local for users for now)

I added in my dns A and MX record (rDNS also) my mail server

smtp.pro.lan.   IN  A   192.168.84.30
smtp.pro.lan.   IN  MX  10 192.168.84.30

But when I try

host -t MX pro.lan
pro.lan has no MX record

I can't find where the problem come from.

2

You need to use the domain apex for the MX. Think of an MX record logically as "mail for pro.lan should go to this server".

So, for example:

smtp.pro.lan. IN A  192.168.84.30
pro.lan.      IN MX smtp.pro.lan.
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.