Hello, tell me please there was such a question, but with the administration of a bad sign.

Actually there is a registered domain, for example helloworld.com , in my personal account (domain registrar), respectively, you can specify the NS server.

Suppose now I have my server's IP registered, naturally with a static IP, for example 95.111.111.111 . All my domains refer to 1 server now, with the same IP.

The settings are registered NS server domain registrar. For example, ns1.godaddy.com respectively at the moment, as far as I understand, my IP and domain are registered in the zone file of this server.

The question is, can I install a DNS server on my server (for the time being), for example, bind9 set up a simple zone file where all subdomains will be, and so on, as usual. And in the end, register my server instead of NS server hoster.
BUT I have a question here. In my personal account, I have the opportunity to register both the name (domain) and the IP address of the NS server, but in many cases I have seen that only the domain is used, that is, ns1.superns.com for example.
That's where the question arises, how will my DNS server ns1.helloworld.com with the domain ns1.helloworld.com if in fact it is a double-edged sword, that is, my server should rezolvit just my helloworld.com domain.

Please tell me whether you can do something like that, or I wrote nonsense.
And another question: what happens when we change the account settings of the NS server's registrar? (preferably in more detail)

Thank you very much

    1 answer 1

    Good afternoon! Yes, it can be done. When you change the NS server's registrar in the LC, the registrar sends a special application to the domain zone registry, which will indicate that henceforth the domain is such and such is served on the server by such and such.

    If you want, you can see an example by running the command in Linux

     dig ukrnames.com +trace 

    Or go to the website dig.ua, enter ukrnames.com there, go to the tab "Team dig", and then select "dig + trace" below.

    This is just a real example of how a domain is served on an ns server, which is its subdomain. It is called - child NS. Most likely the registrar has a separate form / page for their registration. You will need to specify both the name and IP. After that - an application for registration of subsidiary NS will be sent to the registry. Set up your server, make sure that it gives the correct entries (with the command dig @<адрес_вашего_DNS> <ваш_домен> ANY ) and if everything is correct, send a second request to change the NS for your domain. Here you will only need to specify the server name, without IP. Specific details you can check with those. support your registrar.

    • Thank you very much for the answer. I knew about the dig command, but the question is still about that if the name of the DNS server itself is resolved by itself, it turns out that the registrar simply has to make a record of type A, where is the server name and the IP address right? - Ptzhub
    • @Ptzhub, yes, the registrar must register it in the registry - specify his name and IP. - MAN69K