How to edit the DNS template?

Hello,

I am trying to figure out the correct syntax in order to change the default MX hostname to a custom one however I haven’t succeeded so far. Can you please help?

It should work like this: If mail is enabled on the new virtual server, the MX record with priority 5 must be a specific hostname (i.e mail.mydomain.com) for ALL servers and NOT the default hostname which is the mail.$DOM

How can I do this?

${IF-MAIL}
…???
${ENDIF-MAIL}

Any help is much appreciated
N

anyone?

I’m looking for an answer to the same question, any hints?

Hi,

Is the priority 5 hostname static in nature or domain specific?

Best Regards, Peter Knowles TPN Solutions

E: pknowles@tpnsolutions.com
P: 604-782-9342
W: http://www.tpnsolutions.com

Why not ${IF-MAIL} MX 5 whatever.tld. ${ENDIF-MAIL}

Should work on all new zonefile creation.

I just want to avoid it added automatically and add my own set of mail servers

Hi,

As “miner” has indicated ${IF-MAIL}MX 5 whatever.tld.${ENDIF-MAIL} should work. Just make sure to check Use only the records above option. If you run into any problems let us know.

Best Regards, Peter Knowles TPN Solutions

E: pknowles@tpnsolutions.com
P: 604-782-9342
W: http://www.tpnsolutions.com