Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    3

    Default You can change the default DNS entry of Webmail?

    You can change the default DNS entry of Webmail?

    When adding a domain, cPanel automatically creates entries for:

    cpanel 14400 IN A xxx.xxx.xxx.xxx
    whm 14400 IN A xxx.xxx.xxx.xxx
    webmail 14400 IN A xxx.xxx.xxx.xxx
    webdisk 14400 IN A xxx.xxx.xxx.xxx

    It happens that we need to change the entry "webmail" type "A " to type "CNAME" to point to a domain. Is it possible?

    What we need is: webmail 14400 IN CNAME mail.01.domain.com.

    Note: This is not possible by editing the "Edit Zone Templates".

    Appreciate any help.
    Last edited by Quickfast; 02-21-2011 at 08:53 AM.

  2. #2
    Registered User
    Join Date
    Feb 2011
    Posts
    3

    Default Re: You can change the default DNS entry of Webmail?

    Friends,

    any help?

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: You can change the default DNS entry of Webmail?

    Hello,

    You would need to remove the webmail proxy subdomain entirely and then hard-code the subdomain in the WHM > Edit Zone Templates file. Simply because the entry doesn't exist in that file doesn't mean you cannot create a hard-coded entry. The issue here is that the existing entries stem from having enabled WHM > Tweak Settings > Proxy subdomain creation:

    Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
    To remove the existing proxy subdomains, you would use:

    Code:
    /scripts/proxydomains remove --subdomain=webmail
    Then you would need to hard-code the webmail CNAME into the WHM > Edit Zone Templates files and manually add the entry into any already existing zones.

    In all actuality, you should simply remove the Proxy Subdomains entirely and hard code all 4 of them in the zone template, because any new domains will try to create that webmail entry due to having enabled that option. If you want to remove all 4 of them entirely, you'd run:

    Code:
    /scripts/proxydomains remove
    Then hard-code the 4 proxy subdomains you want with the CNAME for the webmail one, and uncheck the Tweak Setting.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  4. #4
    Registered User
    Join Date
    Feb 2011
    Posts
    3

    Default Re: You can change the default DNS entry of Webmail?

    Very Good.

    Thanks Tristan.

Similar Threads & Tags
Similar threads

  1. DNS Default Entry
    By mcstoner in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-08-2005, 06:59 AM
  2. change Default Virtual Host entry
    By ryantechsupport in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-04-2005, 02:17 PM
  3. Feature Reqest: Easily change default dns resource record values
    By Rooter in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-22-2004, 11:42 PM
  4. Mass DNS entry change?
    By tmellon in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-25-2004, 05:54 PM
  5. default extra MX entry
    By joshonig in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-26-2003, 10:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube