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...