cPanel 11.50 DNS zone
WHM has an "Edit Zone Templates" function that gives the admin control over how new DNS zones are created. However, theres are some additional records added to each zone that are not found in these templates.
In particular, it seems that the "webmail.domain.com" record is always created, regardless of the content of the template files. I would like to avoid creating this record, since webmail is disabled. Is it possible to *not* have this record in the zone when new accounts are created?
My (edited) "standardvirtualftp" template looks like this:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
%domain%. IN AAAA %ipv6%
%domain%. IN MX 0 %domain%.
www IN CNAME %domain%.
-
Home "Server Configuration "Tweak Settings, Domains tab for some options you might find useful. 0 -
Thanks for your quick response, but could you clarify which option on that tab will remove the "webmail.domain.com" record in new zone files? I've been through the items on that tab, and I don't see anything there. 0 -
Look more closely at WHM > Server Configuration > Tweak Settings > Domains > Proxy subdomain(s) 0 -
Thanks, but proxy subdomains are off. So nothing there I can change to not have this record created. 0 -
This is an interface issue. Disabling "proxy subdomains" in Tweak Settings causes the associated settings to become inactive in the interface, but they are still applied. In particular, the default "on" setting of "proxy subdomain creation" is still active. The workaround is to enable proxy subdomains, disable proxy subdomain creation, and disable proxy subdomains again. I've submitted bug report 6757893 0 -
Hello :) Yes, internal case FB-195789 is open to address an issue where if you have "Proxy subdomain creation" set to "Off" in "WHM >> Tweak Settings", then upgrade to cPanel version 11.50, "/scripts/proxydomains" is ran and adds entries to all DNS zones. The current workaround is to run the following command after updating to remove proxy subdomains for all users: /scripts/proxydomains remove
Thank you.0
Please sign in to leave a comment.
Comments
6 comments