hello,we use namedmanager for one more years. Lately we published in our production environment for inside network dns search.
For high available,we want to use sql to insert mysql and execute php command to insert zone file,but we failed.
our plans:
one step:
insert into dns_records(id_domain,name,type,content,ttl) values(4,'www1','A','192.168.1.8','600');
tow step:
php -q /usr/share/namedmanager/bind/namedmanager_bind_configwriter.php
Above,when we execute one step ,we can see it in namedmanger,but execute tow step,it do not insert to zone file.
We found that ,it need us to login into namedmanger and "Save Changes" button,and execute tow step,it works.
So we wan to know that which operation can instead "Save Changes".we just want to do some operation and no need to login into namedmanager.
hello,we use namedmanager for one more years. Lately we published in our production environment for inside network dns search. For high available,we want to use sql to insert mysql and execute php command to insert zone file,but we failed. our plans: one step: insert into dns_records(id_domain,name,type,content,ttl) values(4,'www1','A','192.168.1.8','600'); tow step: php -q /usr/share/namedmanager/bind/namedmanager_bind_configwriter.php Above,when we execute one step ,we can see it in namedmanger,but execute tow step,it do not insert to zone file. We found that ,it need us to login into namedmanger and "Save Changes" button,and execute tow step,it works. So we wan to know that which operation can instead "Save Changes".we just want to do some operation and no need to login into namedmanager.