Multiserver, but still dns offline

klasje

Verified User
Joined
Jan 5, 2008
Messages
72
Problem: If 1 server goes down, everything goes down.

Current set-up:

Server1
domain.com with 2 ns records:
ns1.domain.com pointing to server 1
ns2.domain.com pointing to server 2

Server 2
Just hosting some other sites, all domains using ns1 & ns2
Zone transfer between server 1 & 2.

Assumption:
If server 1 goes offline, the sites will keep on working on other servers, as ns2 points to a copy of the dns zones.

Reality:
If server 1 goes offline, ns2 cannot be found (or is not used?) and all websites go offline.


What is the proper way to solve this?
I assumed ns2 would serve as a dns backup, but it apparantly does not.
 
multiserver does not copy your site , only dns info is there
so when your data is on server 1 and its offline dns still point to that server but its offline so it works like expected

What you are searching for is load balancer thing
 
No no,
I don't need that.
If DNS on server 1 is down, server 2 hosted sites should still work, that's my point.

Its normal sites on server 1 are down, but they should be independent from server 2.
Having 2 nameservers does not mean the sites keep working for me...
That's just wrong.
I have 2 nameservers on different servers just to keep my sites up, but it doesn't somehow...
 
How do you config DNS for your maindomain ?
You need to config as glue records, right ?

This look like issued with ns1.domain ns2. records doesn't resolve at all when the main server down.
 
or even better:
ns1 A server1
ns1 A server2
ns2 A server1
ns2 A server2
of course it must be Glue Records (HOSTs) at domain registrar level, as @Ohm J mentioned
 
You need on both servers the A and NS records of both nameservers, also set these ip's up as hostname (not in their DNS but use the option to setup nameservers there), check for GLUE records.

If things are working, check intodns.com if your nameservers are indeed seen correctly and are reachable.

Zone transfer between server 1 & 2.
I presume you also have that on server 1, because you need that on both servers.
 
Back
Top