The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Non-Cpanel Slave DNS

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

  1. bmcclure

    bmcclure Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    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:
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    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:
     
  3. bmcclure

    bmcclure Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    16
    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:
     
Loading...

Share This Page