Answer the question
In order to leave comments, you need to log in
How to raise your CloudFlare analogue for DNS on Linux?
I do not understand the topic, but I really want to understand.
I know that this is done in CloudFlare and Ddos-Guard.
When registering domains with any registrar, you can specify the ns of the CloudFlare server.
In CloudFlare, only the ip of the server where the domains are spinning is indicated.
It turns out that the ip address of the server with domains is hidden, only the CloudFlare server is visible in whois.
I need to do the same on 2 Linux servers.
On one, you need to raise a DNS server, in which 1 domainkkkkkk.ru will be registered and there will be records
ns1.domainkkkkkk.ru
ns2.domainkkkkkk.ru
On the second server, other domains will spin
newdomainggg1.ru
newdomainggg2.ru
newdomainggg3.ru
The first DNS server must know where the second server is located and about the domains on it.
I will register the data of the first server at the registrar for domains from the second server.
ns1.domainkkkkkk.ru
ns2.domainkkkkkk.ru Tell me
how to implement it.
Please, if you know, give a detailed answer.
If you know how they implemented DDoS protection, write in addition to the main question.
Thank you!
Answer the question
In order to leave comments, you need to log in
It's not about DNS, they still have a powerful infrastructure that makes proxying from "open" ip to "hidden" ip. And DDOS protection is also within the framework of this infrastructure, it is impossible to do it on the knee.
Well, i.e. you can add a reverse proxy server to hide the ip, just the whole attack will move to it.
Horses mixed up in a bunch, people ... let's try to clarify, although there is already a solution, but the author really does not understand anything about the question, so he cannot normally evaluate the answer as a solution.
When registering domains with any registrar, you can specify the ns of the CloudFlare server.
In CloudFlare, only the ip of the server where the domains are spinning is indicated.
It turns out that the ip address of the server with domains is hidden, only the CloudFlare server is visible in whois.
I need to do the same on 2 Linux servers.
On one, you need to raise a DNS server, in which 1 domainkkkkkk.ru domain will be registered and there will be records
...
Other domains will be spinning on the second server
...
Имя Тип Значение
site1.domain.ru A x.x.x.x
site2.domain.ru A x.x.x.x
newdomain1.ru A y.y.y.y
newdomain2.ru A y.y.y.y
newdomain3.ru A y.y.y.y
The first DNS server must know where the second server is located and about the domains on it.
I will register the data of the first server at the registrar for domains from the second server.
If you know how they implemented DDoS protection, write in addition to the main question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question