A
A
Alexey2020-01-28 19:17:45
Domain Name System
Alexey, 2020-01-28 19:17:45

How to set up your own DDNS server?

Good day to all, there are many DVRs at different sites with routers, as well as a car in the office that works 24/7. It is required to raise your DDNS server for the following purpose:
The provider can sometimes change the IP address, but the company will definitely not buy a static white IP connection for 50-70 points, so the idea arose, there is a company website to which the domain is attached (company.ru) and on each address needs to be knocked like this:

  1. address1.company. ru - the first point with one IP
  2. addresses2.company. ru - the second point with the second IP

Etc.

Taking into account the fact that the router simply fits the DDNS that will be used and I can already knock on IP address 10.1.1.1 using the adres1.company domain. com.

Thanks to all who answered in advance.
PS If there is an article with a similar solution, then I will be very glad to read it.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dim Boy, 2020-01-28
@twix007

What is the problem with buying 1 ip and setting it up on cloudns.net ...

K
ky0, 2020-01-28
@ky0

It's not very clear what you want to achieve this way. For good - it is worth combining all these objects into one segment of the local network, then you will not have to turn back any dynamic dns.

A
Alexander, 2020-01-28
@NeiroNx

The whole problem here is that the registrar must report his address "somewhere", but you cannot set this "somewhere" arbitrarily - there is usually a fixed dialing. So it makes sense to start your own DDNS if no one can use it. so you have to use what they give, and you can add a maximum CNAME record for yourself.

I
iddqda, 2020-01-28
@iddqda

I did such dyndns on a normal bind. But as a client there was a normal full-fledged Linux server. There you need to create a pair of keys for each client, install the nsupdate utility and somehow activate the launch of the utility with the necessary parameters when the address changes. I did this ansible, but this is hardly an option for your non-name routers. Although it seems openvrt and the like can be configured this way. The same Linux in fact.
On the other hand, many manufacturers of Deshman routers have their own dinds service. The kinetics is exactly and the asus seem to have it. Well, other manufacturers often embed the client part for all sorts of public dindns services such as noip or cloudflare. The easiest way to use them, albeit for a small amount of money.

I
Ilya Efimov, 2020-01-29
@A_M

Dyndns will not save you because
1. It requires an EXTERNAL dynamic address to work, and this is already infrequent. Everyone sits behind NAT providers, and dyndns does not work through NAT.
2. A "client part" from dyndns services is built into the camera or registrar, it is theoretically possible to add your own, but it's a big witchcraft.
So we install microtics in all branches or raise vpn clients on existing hardware, set up a vpn server in the central office and put everything together.
PS You can try to collect everything through the "P2P" services built into cameras and regs, where approximately the same scheme will be implemented with servers in China. There will be an eternal source of smut and pain, but also an option.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question