diff options
-rw-r--r-- | packages/tinydns/tinydns.inc | 2 | ||||
-rw-r--r-- | packages/tinydns/tinydns_domains.xml | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 6fc4f522..9f5e0ca4 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -453,7 +453,7 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) { /* set a few variables needed for sync code borrowed from filter.inc */ $url = $synchronizetoip; - $method = 'pfsense.restore_config_section'; + $method = 'pfsense.merge_installedpackages_section_xmlrpc'; /* Sync! */ log_error("Beginning TinyDNS XMLRPC sync to {$url}:{$port}."); diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml index 62fd2334..d22defd3 100644 --- a/packages/tinydns/tinydns_domains.xml +++ b/packages/tinydns/tinydns_domains.xml @@ -197,11 +197,17 @@ tinydns_setup_ping_items(); </custom_delete_php_command> <custom_add_php_command> + log_error("Begin tinydns add"); tinydns_create_zone_file(); + log_error("Zone file done."); tinydns_setup_ping_items(); + log_error("Ping items done."); </custom_add_php_command> <custom_php_resync_config_command> + log_error("Begin tinydns resync"); tinydns_create_zone_file(); + log_error("Zone file done."); tinydns_setup_ping_items(); + log_error("Ping items done."); </custom_php_resync_config_command> </packagegui> |