Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    6

    Default "Synchronize DNS Records with Primary Nameserver" every day?

    How can I make the option "Synchronize DNS Records with Primary Nameserver" run every day, or each X hours?

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Set up a cron job for root.

    0 */2 * * * /scripts/dnstransfer

    This will make it update every 2 hours.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    Member
    Join Date
    Dec 2003
    Posts
    6

    Default

    when I run the script, I get the following error:

    ./dnstransfer
    Rebuilding DNS Zones List from master server .....
    stdin: is not a tty
    named.conf 100% |**********************************************************************************************************| 159 KB 00:00
    ndc: connect failed: connection refused
    Rebuild Complete

    Are the files synced or not?

  4. #4
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    Make sure you have run /scripts/fixndc 2-3 times. Then also you have to establish a trust relationship with the primary through WHM.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    6

    Default

    the trust relation is set, and sync works trough the WHM. does the error mean it is not synced?

  6. #6
    Member
    Join Date
    Aug 2003
    Posts
    46

    Default

    Do I still have to set up a cron for cpanel 8. Or will the nameserver syc by themselves.

  7. #7
    Member
    Join Date
    Dec 2003
    Posts
    6

    Default

    you need to set up the sync yourself. i myself did not succeed in this. i set up an rsync and cron.hourly between the two servers, which syncs the named dir and named.conf each hour.

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 04-19-2010, 02:14 PM
  2. Replies: 10
    Last Post: 04-29-2007, 12:23 PM
  3. Synchronize DNS Records
    By rjbsec in forum New User Questions
    Replies: 1
    Last Post: 02-04-2007, 12:45 PM
  4. Synchronise DNS records with Primary Nameserver
    By voxtreme-matt in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-17-2002, 09:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube