Thasaidon wrote:In my mailserver I used the mydomain.no-ip.org domain, and I now use my new mydomain.com
I was just wondering if I should use mail.mydomain.com too.
Thasaidon, I hesitate to comment because I think you are 'ahead' of me but, I notice that various ISPs use quite different (DNS-resolvable) names for their mailservers, and these names must be in their MX records. Let me give some examples:
send.vodafone.net
mail.vodafone.net
pop.gmx.net
relay.clara.net
smtp.tesco.net
etc .. ..
So, I conclude from this that what is important is:
(i) that the mail server is routable-to, and
(ii) the actual name of the entry in the MX record does not matter - provided that the name resolves to a routable address
For example, if you have a (routable) separate IP address for your mail server, you can give it any name you wish, and set the MX record appropriately.
Alternatively, if the mail server is on a non-routable address, you can set the MX record to the whichever router is directly reachable (routable to), and then use 'port forwards' to reach your mail server (this is what I have to do on one of our gateways, and using a dynamically-assigned IP in the manner you describe).
Now, what this means (to me, in particular) is that all I have to do is make sure that even if our mail server is using a non-routable address, I have the necessary 'port forward' implemented so that the server is reached from the resolved domain name.
Now, because you can always 'port forward' when you wish, you have the choice whether to have a second DNS-entry for the mail server, particularly. It is not necessary, I understand (though the RFCs should be closely checked). I receive mail perfectly well using Exim, on FREESCO, with simply using names such as
nemo@island.dyndns.orgIn your case - running Exim on FREESCO, then even if you had a 'separate' name for your mail server, it would resolve to the same address.
My guess is that you already knew this - all this - so the only thing I would say is that as I understand it (from the dyndns help files) the RFCs do NOT require that the MX record is a separate name or a separate address. Indeed, they seem to suggest the MX record can be blank (though I have also seen comment that many organisations will - wrongly - reject mail from such domains).
Thasaidon wrote:However, I have a fixed ip, so I manually "activate" my domains each month.
Indeed, I've looked at the dyndns site about this, because we have been offered a service with a static address. Dyndns will disable static accounts UNLESS they are updated within:
not less than 26 days, and
not more than 30 days.
And they mean it; on their forum are several comments from customers who have been 'caught out' by this. To be fair, they also give examples of dyn DNS clients which can be set for 'periodic' updates; I have not (yet) checked whether the FREESCO client can do this. (It may not matter, anyway; we could run the client they recommend on one of our Linux machines behind FREESCO, and thus keep dyndns happy.)
regards, Island