Commit Graph

11 Commits

Author SHA1 Message Date
Kienan Stewart d373365d8f
Fix #413: Add return values for bind update domains hooks
hook_updatedomains_dns_{add,del} have their return values checked in
m_dom::update_domains() to set the dns_result column.

When no return value is specified, the value is actually NULL and doesn't
get mapped to an integer value that is expected by the dns_result column.

As a result, the query fails silently and the DNS_ACTION column is never
updated. This causes update_domains to retry the same modification on
every run.
2020-06-08 17:40:40 -04:00
Kienan Stewart d299462439
Fix typo in table alias causing zone data queries to fail 2019-04-23 12:16:31 -04:00
Kienan Stewart e6c042331d
Do not add bind entries for sub domaines marked for deletion
Fixes #328
2019-04-12 16:38:07 -04:00
Benjamin Sonntag b4aa7c3957 [fix] m_bind.php fixing reconfig instead of reload 2018-10-16 23:08:54 +02:00
Benjamin Sonntag e3d2b84418 [fix] reading multiline dkim key + fixing autodiscover zone having NULL name 2018-07-17 17:39:14 +02:00
Benjamin Sonntag 3bc65aed3f [fix] substitute variables AFTER mysql queries in bind zone file 2018-07-17 17:28:14 +02:00
Benjamin Sonntag 5c32a54edb [fix] French vs. English in template name :/ + fixing case issue making zone empty 2018-07-17 17:20:39 +02:00
Benjamin Sonntag cdf07913da [fix] misc bugs in update_domaines.php, 2018-07-17 16:59:54 +02:00
Benjamin Sonntag dbfc59097b [fix] misc bugs in update_domaines.php, 2018-07-17 16:07:48 +02:00
Benjamin Sonntag 9b7332f354 [enh] adding DKIM and AUTODISCOVER management in SUB_DOMAINES, finishing BIND update_domains.php 2018-07-08 22:03:27 +02:00
Benjamin Sonntag ed7aaa3151 [enh] first version of class-and-hooks-based update_domains.php, includes ssl certficate mechanism 2018-07-08 13:01:35 +02:00