How to set up 2 nameservers from the same domain?

Started by Inetscope, Jul 19, 2022, 11:30 PM

Previous topic - Next topic

InetscopeTopic starter

Hi.

Here's what is needed:
There are two servers. There is one domain.
Name servers for the first one are already configured, like ns1.my.com
ns2.my.com

For the second server, I need to configure the name servers for the same domain, that is ns3.my.com
ns4.my.com

Surely, ns1.my.com
ns2.my.com
must park domains on the first server,
and ns3.my.com
ns4.my.com
respectively for the second.

Is it possible?
Thanks.
  •  

Drupas

DNS points to the server IP. It's like this: instead of a DNS pair, it says "IP of the server to look at" to the value of the "A-name record" field.

Here is a technology that, which will allow you to add one domain to two servers - https://en.wikipedia.org/wiki/Round-robin_DNS

2 servers located in the basement or 2 servers rented from the host is another. The server has at least an OS, and a program / role (in Windows case) to work with DNS.
in the second case, it's better to contact the hosting provider, sometimes smart things are suggested there.
  •  

Roger Dave

We have: domain example.com , a vds server on linux with two ip addresses (on the same interface if important) and the task of assigning names to different hosts within example.com , well, like third-level domains, only A-records.
There are many clients of the same type and a self-written management system for them, and you need to store client hosts, but it is much more convenient to give them names client1.example.com

I raised bind, configured it for MySQL, but it doesn't matter, I'll figure it out. The registrar offers me to specify for the domain name:
— two ns servers (name) and two ip addresses (if the ns servers are from the same domain for which we are doing bind).

It turns out I'm coming up with ns1.example.com , ns2.exemple.com , I indicate next to them the ip addresses on my server (where the bind will be) and everything else is already the settings on the bind server?
Specify the A-record test.example.com , compare with 8.8.8.8 and ping will go test.example.com ?
  •