Bind + mysql + bind-dlz implement DNS-like functions

Source: Internet
Author: User
Now I want to build an IoT project. Specifically, you can register an ID for any object, called OID, which can be classified. each type of OID is similar to IP, 1.2.16.xxx, and so on. 1.2.16 is fixed, the subsequent numbers can be allocated according to the algorithm. when registering an OID, you must record the corresponding information. The query logic is similar to that of DNS. So we designed such a DNS-like system. Deployment environment example: bind + mysql + bind-dlz implementation class DNS function (supports multithreading) think of the NAPTR record method as follows (similar to the routing configuration in the sip phone ): $... mysqlbindnaptrdnsbind dlz

Now I want to build an IoT project.
Specifically, you can register an ID for any object, called OID, which can be classified. each type of OID is similar to IP, 1.2.16.xxx, and so on. 1.2.16 is fixed, the following numbers can be allocated according to the algorithm;
When registering an OID, you need to record the corresponding information.
The query logic is similar to that of DNS. So we designed such a DNS-like system.
Deployment environment example: bind + mysql + bind-dlz implementation class DNS function (multithreading supported)
The method for recording NAPTR is as follows (similar to the routing configuration in the sip phone ):
$ ORIGIN 1.3.1.3.1.4.3.2.2.6.8.e164.arpa.
In naptr 10 10 "u" "SIP + E2U ""! ^. * $! Sip: abel@twnic.net.tw"
But the database table does not know how to design it to be efficient. because a OID usually corresponds to multiple pieces of information, is my naptr record also designed to be multiple pieces? Also, how does java code send dns query messages?
Hope to support the bind deployment experience and development experience;
If you have a local master in Nanjing, we are willing to hire a temporary consultant. the salary can be negotiated!
Thank you!
You can leave a message, add QQ (1034546474) friends, and enter DNS for verification information.
Online...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.