Domain NS servers

Started by john.vanis5, Nov 23, 2022, 01:58 AM

Previous topic - Next topic

john.vanis5Topic starter

tell me, please, how in this way it is possible to register a dns servers of the site domain ?
that is, if I have a website, then the DNS servers must be how is this possible? I always put NS of my hosting provider.


Unfortunately, there will be no short and clear answer here.
Another question is , why would you want to do this ?
But if you really want to, then here's about what you need to do.

you need at least two servers with different ip addresses in different zones. This is a requirement that two DNS would not fall together at once.
These servers can be either on Windows server or on any of the Linux machines. If we are configuring on Linux machines, then the installation of the server part is necessary. I would recommend using powerdns, although of course there are a lot of materials on setting up bind on the network.


Domains familiar to users are not the real addresses of hosts on the network, for which IP addresses are used in practice to identify them.
Working with them is inconvenient for users, so a DNS server system is used. They perform several basic functions.

Convert the domain name entered in the address bar to an IP address or vice versa (reverse conversion).
Errors are reported if requests are directed to non-existent addresses.
Provide information about the server responsible for the child zone (subdomains).
Cache records received from other name servers. Caching helps to increase the speed of access to sites. Requests to a remote DNS server take a long time, so the provider's DNS server stores the addresses of previously requested sites in the cache.
There are 3 main types of DNS servers:

Primary, stores a domain zone file with information about all resource records.
Secondary ( slave), downloads and stores a copy of the zone file from the primary DNS server. It is used to increase the fault tolerance of the DNS service.
Caching. It is intended only for caching, it is used to unload primary and secondary servers, as well as to increase the speed of access to web sites.