How to edit the DNS template?

7 posts / 0 new
Last post
#1 Tue, 10/23/2012 - 17:14
netizen

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

Wed, 10/24/2012 - 12:43
netizen

anyone?

Wed, 01/30/2013 - 18:44
blaflamme

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

Thu, 01/31/2013 - 10:16
tpnsolutions
tpnsolutions's picture

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
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thu, 01/31/2013 - 16:56 (Reply to #4)
blaflamme

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

Thu, 01/31/2013 - 14:00
miner

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

Should work on all new zonefile creation.

Thu, 01/31/2013 - 18:10
tpnsolutions
tpnsolutions's picture

Hi,

As "miner" has indicated ${IF-MAIL}MX 5 whatever.tld.${ENDIF-MAIL} should work. Just make sure to check <code>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
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Topic locked