Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    18

    Default DNS cluster on servers already hosting websites

    Hi there,

    I have 5 webservers and i want to use 2 of then to host all my dns's. Problem is, all those servers are already being used by clients and i cannot afford 2 extra servers(or 2 vps's). The question is... Is it possible to create the cluster pointing to 2 of my servers? How's that gonna work?

    Here's what i want to do:
    -------------------------
    server 1 - NS1
    server 2 - NS2
    server 3 - dnss points to server 1 and 2
    server 4 - dnss points to server 1 and 2
    server 5 - dnss points to server 1 and 2
    -------------------------

    But what should i do with the clients already hosted on server 1 and 2? Can i point those servers to each other? Will it work? Thanks!

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: DNS cluster on servers already hosting websites

    Quote Originally Posted by ruiz View Post
    Hi there,

    I have 5 webservers and i want to use 2 of then to host all my dns's. Problem is, all those servers are already being used by clients and i cannot afford 2 extra servers(or 2 vps's). The question is... Is it possible to create the cluster pointing to 2 of my servers? How's that gonna work?

    Here's what i want to do:
    -------------------------
    server 1 - NS1
    server 2 - NS2
    server 3 - dnss points to server 1 and 2
    server 4 - dnss points to server 1 and 2
    server 5 - dnss points to server 1 and 2
    -------------------------

    But what should i do with the clients already hosted on server 1 and 2? Can i point those servers to each other? Will it work? Thanks!
    It's quite simple really, my guess is you're over-thinking it.

    Leave your DNS settings as-is for your two existing servers, and for servers 3-5 simply enable DNS clustering with both server 1 & 2. Set 3-5 to synchronize changes with 1 & 2, but not vice versa.

    Set new domains on 3-5 to use the nameservers on 1 & 2, and then when you setup an account on 3-5, the DNS record will be auto-propagated to 1 & 2!
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    18

    Default Re: DNS cluster on servers already hosting websites

    Quote Originally Posted by garrettp View Post
    It's quite simple really, my guess is you're over-thinking it.

    Leave your DNS settings as-is for your two existing servers, and for servers 3-5 simply enable DNS clustering with both server 1 & 2. Set 3-5 to synchronize changes with 1 & 2, but not vice versa.

    Set new domains on 3-5 to use the nameservers on 1 & 2, and then when you setup an account on 3-5, the DNS record will be auto-propagated to 1 & 2!
    Hi garrettp thanks for your response,

    That'll work, But the problem is that ns1 won't respond for the websites hosted on server2, and ns2 won't respond for websites hosted on server1. They will work, but maybe i'll have some problems with only one NS working for those servers.

    Do you think i'll have a problem if i point server2 to NS1 and server1 to NS2? Thanks

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: DNS cluster on servers already hosting websites

    Quote Originally Posted by ruiz View Post
    Hi garrettp thanks for your response,

    That'll work, But the problem is that ns1 won't respond for the websites hosted on server2, and ns2 won't respond for websites hosted on server1. They will work, but maybe i'll have some problems with only one NS working for those servers.

    Do you think i'll have a problem if i point server2 to NS1 and server1 to NS2? Thanks
    ruiz,

    My assumption there was also that you have a two-way synchronization setup between 1 & 2 to ensure record updates remain consistent between them and they each have an identical copy of all of your hosted DNS records.

    The others only need a one-way sync since they will not be doing any DNS hosting on their own.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  5. #5
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    Default Re: DNS cluster on servers already hosting websites

    For me, I would consider on taking 2 budget VPS server and setup them with DNS only cPanel and reconfigure the nameserver to be hosted there.

    This would saved up alot of configurations and the changes of IP address can be updated directly via scripts.

  6. #6
    Member
    Join Date
    Feb 2008
    Posts
    18

    Default Re: DNS cluster on servers already hosting websites

    Thanks guys! I'll try to setup openvz on 2 of my servers, if i have any trouble i'll just stick to the usual way and cross link like garrettp said.

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 01-18-2010, 10:11 PM
  2. Servers in your DNS Cluster?
    By corpresa in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-23-2009, 10:12 AM
  3. DNS Cluster Syncs All Servers When It Shouldn't?
    By markb14391 in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 10-02-2008, 03:50 PM
  4. DNS cluster between 2 master servers?
    By brettcave in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-30-2007, 03:44 AM
  5. Replies: 2
    Last Post: 11-12-2005, 12:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube