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!

Non-Cpanel Slave DNS

Discussion in 'Bind/DNS/Nameserver' started by bmcclure, Jun 18, 2003.

  1. bmcclure

    bmcclure Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    241
    Location:
    Racine, WI
    I've got a non-Cpanel slave DNS server set up, but I have to add the lines for each domain to the named.conf file manually to get new domains to show up. Is there some way I can autoamtically have it add new zones, etc. when we get new signups and domains?

    Thanks.

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    There's a couple of scripts which you might use:

    /scripts/dnstransfer
    /scripts/makesecondary

    You can run the scripts remotely via ssh if you have established a trust relationship each time you create an account (using /scripts/wwwacct for example). Or you can just put them in the crontab (which I'd do in any case just to be sure).

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bmcclure

    bmcclure Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    241
    Location:
    Racine, WI
    Could you elaborate a bit on this? I'll figure out how to establish a trust relationship, thenI just run those scripts usign cron every minute or something?

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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