Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default Please help - DNS clustering not working as it should

    Hello!

    I just don't understand the DNS clustering.
    I have setup 3 webservers and using 2 DNS servers.

    On each web server I have added ns1 och ns2 server in the cluster.
    On each web server I have set it to syncronize changes.
    On each DNS server I have set it to DNS only.

    Just as the tutorials say - the best way.

    When I add a new domain on webserver01 - it is added to all servers,
    not just the DNS server. If I change IP for the domain on the DNS server, the IP is updated on the webservers (all of them) as well.

    So I changed the roles - vice verca and tested again.
    Doesn't matter -

    changes on web server is added to DNS and all webservers has it.

    Domains/Records added on webserver1 is showing on webserver2 and webserver3 as well.

    What did I miss - not understand here.... ?

    Regards Jero

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    Make sure all three of the web servers are set to "Synchronize Changes" as the DNS role for each web server.

    On each DNS server make sure the role is set to "Standalone"

    I would actually delete the hashes on the DNS server so that there isn't an option for a DNS role. Click the red X next to each web server on each DNS server.

    Then on each web server you need to go to the Nameserver Selection link under Service Configuration and choose Disabled for on each webserver. This is because your DNS is being handled by the DNS servers and each web server does not need its own local DNS running.

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Hi Sparek,

    thank you very much - now it's working as it should do!

    Strange that nameservers are updating the webservers
    even if it's set as standalone - and not only updating the source,
    from where the record was updated, also to the other webservers.

    Anyway - ON the webserver it's set as synchronize (ON webserver but FOR hostname "nameserver"). ON the nameserver I deleted the webservers from the cluster. On the webserver I disabled the DNS.

    Thanks!

    / Jeroman

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    427

    Default

    Hm ... seems I was a little wrong here.
    I can't let this go :-)

    I need to write what I tested - I think it's a little confusing.

    Is a webserver supposed to see everything on nameserver, not only it's own records ?

    web01, web02, web03 server and ns1 and ns2 server.
    webservers synchronized with nameserver but on nameservers
    all webservers deleted from cluster.

    If I add a new record on web01 I can see it on web01, web02, web03 and ns1/ns2. I can also edit the record from any webserver so ns1/ns2 updates.

    The DB.file in /var/named is only on the webserver where it was added from or edited from.

    So I guess you can always read all the records on NS servers from any webserver. If you syncronize webservers with NS you can also edit the records from any webserver and NS. The .db files is only on NS servers and
    on source webserver + editing server.
    If I edit record on NS server it will be updated there and you will see the
    updated record on all web servers, even source webserver.
    But source webserver .db file is not updated.

    I thought I can only see web01 DNS records on Web01 and NS server.
    And then web02 records only on web02 and NS.

    Guess I was wrong, guess it doesn't matter ...


    Any info, thoughts about this ?

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, 04:35 AM
  2. DNS Clustering not working as expected?
    By Xavior82 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-28-2009, 08:58 AM
  3. Reverse DNS (DNS Only clustering enabled) errors
    By Francisco in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-22-2008, 12:51 PM
  4. DNS Clustering (DNS Only) + Parked Domains
    By Francisco in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-18-2006, 01:09 PM
  5. CPanel DNS clustering, synchronization not working
    By aboleth in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-23-2006, 07:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube