Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Add mailnode's ip to dns templates

Raúl Álvarez de Celis shared this idea 21 months ago
Need More Information

As a System Administrator, I would like to be able to use variables for mailnode hostnames in zone templates to avoid using cnames in custom templates.

===============


According to current docs:

https://docs.cpanel.net/whm/dns-functions/edit-zone-templates/

%maildomain% — The hostname of the server that handles the domain’s mail.

When you link a box with a mailnode, this variable stores the mailnode's hostname. It would be very useful to have a variable like %mailip% to store the ip of the mailnode.

For example, to avoid cnames in custom templates.

Thanks.

Replies (1)

photo
1

Howdy,

Can I get some more information on your need to avoid CNAMES in custom templates. What kind of problems are you running into with the current implementation?


Dustin Scherer (he/him) | Product Owner | @dustinscherer

Leave a Comment
 
Attach a file