servers

cabn12

Verified User
Joined
Dec 17, 2019
Messages
137
Good afternoon, does anyone already work here as follows: server 1 dabr1.domain.com.br ip used xxx.xxx.xxx.xxx server 2 dabr2.domain.com.br ip used xxx.xx.xx.x dabr1, dabr2 references the same domain used on servers with different IPs! Do not register only dabr1 server ip as ns1 and dabr2 as ns2 would like opinions.
 
Server 1 dabr1.domain.com ip xxx.xxx.xxx.xx
server 2 dabr2.domain.com Ip xxxx.xx.xxx.x
in registrar :

ns1.domain.com ip 1
ns2.domain.com ip 2

same domain for both servers only using ip 1 from server 1 to ns1 and ip 2 from server 2 to ns2
 
if domain using NSs from two different servers - both of this servers must keep identical DNS zones for this domain, and all domains that using same scheme of NSs. You can use DA multi server setup for DNS synchronization.
 
same domain for both servers only using ip 1 from server 1 to ns1 and ip 2 from server 2 to ns2
Yes we do that all the time. I will use local ip's just as example.
Server A: server.domain.com ip1 192.168.1.10 and ip2 192.168.1.11
Server B: srv.otherdomain.com ip1 10.0.0.1 and ip2 10.0.0.2

ns1.domain.com uses 192.168.1.10
ns2.domain.com uses 10.0.0.2

ns1.otherdomain.com uses 10.0.0.1
ns2.otherdomain.com uses 192.168.1.11

Then with multiserver setup and active oh both servers, you have different nameservers as ns2, works perfectly.
 
Thankyou

Just a doubt to do this I can use a single domain for both servers. domain daserver.mydomain.com would use like this server 1 = da1server.mydomain.com server2 = da2server.mydomain.com domain to be registered = mydomain.com
 
You're welcome.
It might be possible, but I'm not 100% sure. I never done it like this.

As for the hostname's, that's not a problem, but I'm not sure for the nameservers which are pointed to newly created clients on server 2.
Personally I wouldn't know why you would want to use the same domain name on 2 servers for nameservers.
If you create the hostnames, doublecheck that entry's for the hostnames are made in the /etc/virtual/domains (not domainowners!) file are created and a seperate directory with the hostname is created in /etc/virtual too.

@Zhenyapan it can be done like this with the NS, right?
 
you can keep 1 domain for all servers with using subdomains bases on it.
like:
s1.domain.com as hostname of first server
s2.domain.com as hostname of second server
s3.domain.com as hostname of third server

also as you wish - you can use own NSs for each server
like:
ns1.s1.domain.com as ns of first server
ns2.s1.domain.com as ns of first server
ns1.s2.domain.com as ns of second server
ns2.s2.domain.com as ns of second server
ns1.s3.domain.com as ns of third server
ns2.s3.domain.com as ns of third server
also you can provide your subdomains for users's rented VPSs

or you can use same NSs on all DA servers with multiserver-setup
this will allow you to move users between servers without need to change NSs at domain registrar side.
 
Last edited:
ns1.s1.domain.com as hostname of first server
You mean as NS server. :)
Ahyes, this way it can be done too. I was just thinking of ns1.domain.com and ns2.domain.com and then just different hostnames on the servers. But this is also good.
 
You mean as NS server. :)
Ahyes, this way it can be done too. I was just thinking of ns1.domain.com and ns2.domain.com and then just different hostnames on the servers. But this is also good.
fixed :) thanks
 
Back
Top