📜 ⬆️ ⬇️

Personal experience: How we automated work with DNS records in the hosting panel

In our blog on Habré, we write a lot about various IT-related issues, and also talk about the development of our own project - IaaS provider 1cloud. Today we will talk about why we have developed a new service - a free DNS hosting service .

We have previously talked about how we developed our own DNS management system using the ANS product. The basic scheme of interaction with the system is as follows:


We also worked on simplifying user interaction with the interface. As a result, to create zones, you only need to drive the domain and IP address into a simple form, after which a zone with SOA, NS records (to servers ns01.1cloud.ru and ns02.1cloud.ru) and A. will be created automatically.
')
This mechanism was convenient for creating new DNS records, but was not very suitable for transferring old ones. Therefore, we have developed a special service for their migration. It works like this: the system asynchronously polls public DNS servers for the presence of records in the specified domain. All found records are transferred to our panel. Of course, with such a scheme, the system may not find any records, or, if the record was recently changed, “catch” its old version from the cache. However, in practice such cases rarely occur.

According to statistics, more than half of users use the mechanism of automatic migration of DNS records instead of the usual creation from scratch - although this functionality is still available.

Records can also be managed using our API-interface - we described it in more detail here . As a rule, this opportunity is used by large customers who need to organize shared-hosting on the basis of our private cloud.

Plans


From the very beginning of work on the DNS hosting project, we decided that we should develop a comprehensive solution that would be free for users. The main thing here was to achieve maximum convenience - our analysis showed that it is more profitable to make this service completely free to make it easier for users to work with the hosting control panel. As a result, in order to use the DNS hosting service, it is not even necessary to connect other paid services.

However, the fact that users get the service for free does not mean that it can be done somehow - we use the equipment of leading vendors and constantly develop the service. Here are some of the latest improvements and planned improvements:


Our other materials on the topic:


Source: https://habr.com/ru/post/318286/


All Articles