Answer the question
In order to leave comments, you need to log in
How does information about a new DNS server appear on the World Wide Web?
1. Suppose I purchased a VPS or assembled a server at home and screwed a DNS server there. It contains an entry about site1.ru . By typing site1.ru in the browser, how will the query come to my DNS? How does it appear that there is a new DNS server on the network?
2. Are there public DNS servers with failover function for multi-ip domains? Or is it necessary to implement your own DNS?
Answer the question
In order to leave comments, you need to log in
It's not about how a new DNS server appears in the world, but about how a new domain appears in the world.
If you made your own DNS and started a new domain on it, no one will know about it.
The domain must be registered with a registrar who adds an entry to the NS server responsible for the corresponding domain. And your local DNS server has nothing to do with the .ru zone and will only affect those computers for which it will be configured by a DNS server.
In general, just read how the DNS service works.
By typing site1.ru in the browser, how will the query come to my DNS?
The request will go to it, because you specify it Or in
the A record
or in NS in
another way, and it will not go there only if you specify a specific dns server from the console from whom you want to ask it.
host -a ваш_сайт.ру днс_сервер_с_с_которого_хотите_спросить.ру
you register your dns in root dns servers, which are all the same
almost all paid services can filer and roundrobin in dns
the same route53 from amazon
Chet above some kind of compote.
Just delegate domains to this dns-server or the domain itself.
for example, the server ns1.site.ru, make it an alias (or a second physical server) ns2.site.ru
and delegate the domain example.ru to ns1.site.ru, ns2.site.ru
after that all requests about *. example.ru will go to your server (within 1-2 hours for the .ru domain).
If you want the site.ru domain for yourself, then delegate the domain with this set:
ns1.site.ru 127.0.0.1
ns2.site.ru 127.0.0.2
(indicating the real ip of these servers or the server, but 2 entries are required).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question