Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    22

    Question DNS Clustering not working as expected?

    Hello,

    I have recently activated DNS clustering on my servers, with the objective being to group all my zone files on the same server for easier management (we're using a different system to actually distribute our zone information across several servers).

    While the clustering appears to work (I can view/edit zone files from all my web severs), it appears this system does not actually copy zone files to the DNS servers as far as I can tell. I expected to see all .db files from all my web servers to be copied to the /var/named directory on my DNS server, but that apparently doesn't happen. Maybe I'm not getting it, but how does the clustering actually work? Is there some other synchronization process happening that I'm not aware of?

    Some help would be appreciated here...

    Many thanks!

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    After configuring and enabling the cluster you need to initiate a synchronization. This is done in WHM >> DNS Functions >> Synchronize Records
    Kenneth
    Product Development
    cPanel, Inc.

  3. #3
    Member
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    22

    Question

    Excellent, thanks! I've now successfully synchronized the zone files on my DNS server.

    So now, for the inevitable follow-up question...

    What triggers the synchronization process when a change is made to a zone file on a web server? Does synchronization only occur when triggered manually, is it cron based, is it triggered when a zone file is edited via WHM/CPanel's MX editor, or is there some other sync process?

    If I manually edit the .db zone file on my web server using some third party tool, will this zone record automatically be updated on the slave DNS server as well through this (presumably automated) sync process? If so, how soon after I made the change?

    Thank you in advance for clarifying these points!
    Last edited by Xavior82; 08-24-2009 at 11:27 AM.

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Zones changes are synced when performed through the WHM and cPanel interfaces. Manual edits can be synced either through the WHM interface I mentioned in the prior post, or on the command line using /scripts/dnscluster
    Kenneth
    Product Development
    cPanel, Inc.

  5. #5
    Member
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    22

    Default

    Thanks for your help, Kenneth.

    Is there a way to sync only one zone via the command line? Can you post a usage example?

    I want to make sure that a single zone change does not trigger a full synchronization (which I have noticed can take upwards of 2 minutes).

  6. #6
    Member
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    22

    Default

    Or am I actually better off just running the full dnscluster sync script at a regular interval via a cron job (say, once every 4 hours)?
    nCube Solutions powers businesses on the Web

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Executing /scripts/dnscluster displays usage information. You can use that script to sync one zone or all zones.

    You only need to perform a full synchronization in the following scenarios:

    1. After setting up the cluster initially
    2. After you add a new member to the cluster

    Zones modified using the cPanel tools will be automatically synced within the cluster.
    Kenneth
    Product Development
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. DNS Clustering Plesk Windows & CPANEL DNS ONLY
    By 0senjed0 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-25-2010, 05:35 AM
  2. Please help - DNS clustering not working as it should
    By jeroman8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-12-2009, 04:36 AM
  3. rm -R <directoryname> not working as expected
    By cookiesunshinex in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-04-2006, 03:19 AM
  4. CPanel DNS clustering, synchronization not working
    By aboleth in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-23-2006, 08:29 AM
  5. Auto-resonder not working as expected
    By hockeythug in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-09-2004, 12:35 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube