Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM DNS template customization

Discussion in 'Bind/DNS/Nameserver' started by paultantk, Sep 3, 2003.

  1. paultantk

    paultantk Member

    Joined:
    Nov 15, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hi! :)

    I was wondering, is there any way that the DNS zonefiles that are generated by WHM during an account creation can be customised? Is there a template somewhere that I can edit? This would make it much easier to add stuff like default backup MX servers and etc whenever a new account is created.

    Thanks!

    Paul Tan

    cPanel.net Support Ticket Number:
     
  2. paultantk

    paultantk Member

    Joined:
    Nov 15, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    found it, it's in /scripts/adddns

    cPanel.net Support Ticket Number:
     
  3. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    On account creation, WHM actually uses /scripts/wwwacct starting around line 1231.

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. paultantk

    paultantk Member

    Joined:
    Nov 15, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Ah! How careless of me. Thanks man :)

    cPanel.net Support Ticket Number:
     
  5. Fuitad

    Fuitad Registered

    Joined:
    Sep 10, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Where can I find the template for WHM modifications?

    ; Modified by Web Host Manager
    ; Zone File for whateverdomain.com
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice