Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

DNS Cluster, Avoid duplicate domains & usernames

Discussion in 'Bind/DNS/Nameserver' started by HH-Steven, Feb 10, 2008.

  1. HH-Steven

    HH-Steven Well-Known Member

    Aug 29, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Ok, i have my servers setup on a DNS cluster.

    1. Is there anyway when an account is being created for it to check the username with all other servers in the cluster and if already present return an error?, ideally the typical "ouch, already taken" one?

    2. Now, im not too sure about this one, but when thinking about the above i decided to see what would happen if i created an account using a domain that already exists on another server within the cluster.

    What happened was that the account was created without issues and the DNS information changed to use the new account, surely this cant be correct?

    Shouldnt there be checks in place to prevent either of the above from happening?

    Any help or advice is greatly appreciated.
  2. electric

    electric Well-Known Member

    Nov 5, 2001
    Likes Received:
    Trophy Points:

    The DNS cluster is not "smart". It is only for DNS clustering, and not for account/file clustering.

    So if server1 updates the DNS, then the change is propogated to all serves in the DNS cluster. If server2 also has an account with the same domain name, then that's just too bad -- it will be changed.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice