diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-14 18:04:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-14 18:04:33 +0000 |
commit | ac5942c449f45d34b5a372ba232a1b682148294b (patch) | |
tree | 7853e2927dc0b5bca4eb633fff3d008cc88e9f0d /packages/tinydns | |
parent | 30597de08c2d7cb4561b1ee2b0d34b733ded5e7f (diff) | |
download | pfsense-packages-ac5942c449f45d34b5a372ba232a1b682148294b.tar.gz pfsense-packages-ac5942c449f45d34b5a372ba232a1b682148294b.tar.bz2 pfsense-packages-ac5942c449f45d34b5a372ba232a1b682148294b.zip |
use merge_installedpackages_section_xmlrpc() procedure
Diffstat (limited to 'packages/tinydns')
-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> |