same domain for different servers

hello

if I have a domain.com and want to use it as hostname and nameservers for 2 different servers, like
hostname of server1: server1.domain.com
hostname of server2: server2.domain.com
nameservers for server1: ns1.domain.com ns2.domain.com
nameservers for server2: ns3.domain.com ns4.domain.com

is it possible to do this independently of one of the servers?
ie... if one server is unplugged, the other keeps working... and same for the other server

I think I can configure the nameservers specifying the IP on the registrar and maybe also specify the IP for the hostname?

thanks

 

 

 

 

Top