Domain Nameservers for 2 servers

Discussion in 'Site & Server Administration' started by Stomp, Dec 2, 2008.

  1. #1
    We're kinda lost right now on this domain nameservers assignment.

    Here goes:
    we have 2 server locations and had below DNS setting (WHM)
    WHM #1:
    domain.com NS ns1.domain.com
    domain.com NS ns2.domain.com
    ns1 A IPserverA1
    ns2 A IPserverA2
    domain.com A IPserverA1

    WHM #2:
    domain.com NS ns3.domain.com
    domain.com NS ns4.domain.com
    ns3 A IPserverB1
    ns4 A IPserverB2
    domain.com A IPserverB2

    on our domain control panel (Directi)
    ns1.domain.com IPserverA1
    ns2.domain.com IPserverA2
    ns3.domain.com IPserverB1
    ns4.domain.com IPserverB2

    problem on our main site started after we have have added our 2nd server
    using a single domain name.
    not sure if we have done it right. worked before. but then again,
    might have missed something.

    kinda confusing? let me know if i am.
     
    Stomp, Dec 2, 2008 IP
  2. StephenN

    StephenN Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That looks normal. What kind of problem did you experience?
     
    StephenN, Dec 2, 2008 IP
  3. Stomp

    Stomp Active Member

    Messages:
    270
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Stomp, Dec 3, 2008 IP
  4. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #4
    check the apache httpd virtual hosts. That could be the problem
     
    olddocks, Dec 3, 2008 IP
  5. zdrol

    zdrol Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Took a look at the site, and it appears to be working now.

    Keep in mind DNS has to propagate, and depending on the circumstances this can take more than 24 hours.

    But if the page/folder list is loading at all, it is probably not a DNS problem, more likely something in the apache configuration.
     
    zdrol, Dec 3, 2008 IP
  6. Stomp

    Stomp Active Member

    Messages:
    270
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #6
    Thanks for the awesome help.

    well i guess, it is not. tehre are other clients sites hosted on our server and
    only our website got screwed as soon as we updated the DNS due to
    a single domain 'calling" 2 servers.

    meanwhile, still not fixed.
     
    Stomp, Dec 3, 2008 IP
  7. zdrol

    zdrol Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    still not fixed?

    Re-reading, I think I more fully understand your issue now.

    Is WHM#1 going to remain? WHM#2 is a new server just brought online?

    I can resolve ns1-ns4.supremeresellers.com from one of my connections, but on another I can only resolve ns3 and ns4.

    If possible, you need to have one of them be the master, and the rest accept the DNS updates from it (or copy the same configuration to each ns1-ns4).

    Here is what a more common setup looks like

    domain.com NS ns1.domain.com
    domain.com NS ns2.domain.com
    domain.com NS ns3.domain.com
    domain.com NS ns4.domain.com
    ns1 A IPserverA1
    ns2 A IPserverA2
    ns3 A IPserverB1
    ns4 A IPserverB2
    domain.com A IPserverA1
    domain.com A IPserverB2

    this will automatically round robin between IPServerA1 and IPServerB2 for domain.com requests.
     
    zdrol, Dec 3, 2008 IP
  8. Stomp

    Stomp Active Member

    Messages:
    270
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #8
    have changed everythinng like you said.
    I assume that i still maintain all ns1-ns4 on my domain control panel.

    and yes, we decided to maintain 2 WHMs from 2 servers.
    should i do the same on the other server? with all the IPs according to the
    server IP?

    i bet i got to wait for it to propagate also :)
     
    Stomp, Dec 4, 2008 IP
  9. zdrol

    zdrol Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes, the dns should look like this

    domain.com NS ns1.domain.com
    domain.com NS ns2.domain.com
    domain.com NS ns3.domain.com
    domain.com NS ns4.domain.com
    ns1 A IPserverA1
    ns2 A IPserverA2
    ns3 A IPserverB1
    ns4 A IPserverB2
    domain.com A IPserverA1
    domain.com A IPserverB2

    On both servers (technically, all four ns1-ns4 servers)

    And the domain control panel itself should list ns1-ns4
     
    zdrol, Dec 4, 2008 IP