Hi @all,
first of all, sorry for my bad english...
I've build my own DDNS-Service and after upgrading Plesk from version 11.5.30 to 12.0.18, Plesk says after DNS changes:
Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.
Plesk also updates the timestamp on all records (at the same zone) in "dns_recs".
The script:
- /usr/local/psa/bin/dns --del geosweb.de -a __SUBDOMAIN__ -ip __OLD_IP__
- /usr/local/psa/bin/dns --add geosweb.de -a __SUBDOMAIN__ -ip __NEW_IP__
An "dns --del..." followed by an "dns --add..." works fine and fast (Nameserver update), but an update on the MySQL-Table followed by "dnsmng --update" takes a long time, until the nameserver be updated.
My question(s):
How can I perform a "Apply DNS Template Changes" by command line? Or what is the right way in Plesk, to update the IP on a A-Record?
Many thanks, besten Dank!
Schorsch
first of all, sorry for my bad english...
I've build my own DDNS-Service and after upgrading Plesk from version 11.5.30 to 12.0.18, Plesk says after DNS changes:
Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.
Plesk also updates the timestamp on all records (at the same zone) in "dns_recs".
The script:
- /usr/local/psa/bin/dns --del geosweb.de -a __SUBDOMAIN__ -ip __OLD_IP__
- /usr/local/psa/bin/dns --add geosweb.de -a __SUBDOMAIN__ -ip __NEW_IP__
An "dns --del..." followed by an "dns --add..." works fine and fast (Nameserver update), but an update on the MySQL-Table followed by "dnsmng --update" takes a long time, until the nameserver be updated.
My question(s):
How can I perform a "Apply DNS Template Changes" by command line? Or what is the right way in Plesk, to update the IP on a A-Record?
Many thanks, besten Dank!
Schorsch