I want to write a set of dns bind management interface with python, so that there is no need to type commands on the console for domain name resolution. Knowing that bind has a DLZ that can connect to the database, put the parsing record into the DB, so it is very convenient to add the modification record. You only need to modify the corresponding table. However, after watching the performance tests done by some people on the Internet, there is a more than ten-fold difference in performance, and there is a risk that BIND programs will get stuck with DLZ. So I still want to read the file in that way, but if I use the file method, I don"t know how to achieve this domain name management. Is it too troublesome to read the file every time you open the page?