aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_sync.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-12 18:14:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-12 18:14:40 +0000
commitfe948c97c1ef4c1b624730a196152d190c070b7e (patch)
tree492a3439b9022a835063ea8812ef0c9c71037d15 /packages/tinydns/tinydns_sync.xml
parent2259758674f6b5f3a93c274909a574ee8b2a50ee (diff)
downloadpfsense-packages-fe948c97c1ef4c1b624730a196152d190c070b7e.tar.gz
pfsense-packages-fe948c97c1ef4c1b624730a196152d190c070b7e.tar.bz2
pfsense-packages-fe948c97c1ef4c1b624730a196152d190c070b7e.zip
Add custom sync to function allowing a Admin to sync their tinydns to remote firewalls with ease.
Diffstat (limited to 'packages/tinydns/tinydns_sync.xml')
-rw-r--r--packages/tinydns/tinydns_sync.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml
new file mode 100644
index 00000000..f275ec73
--- /dev/null
+++ b/packages/tinydns/tinydns_sync.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<packagegui>
+ <name>tinydns</name>
+ <version>1.0</version>
+ <configpath>installedpackages->package->tinydns</configpath>
+ <title>TinyDNS: Manual Sync</title>
+ <custom_php_install_command>
+ tinydns_custom_php_install_command();
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ tinydns_custom_php_deinstall_command();
+ </custom_php_deinstall_command>
+ <custom_php_resync_config_command>
+ tinydns_do_xmlrpc_sync($ipaddress, $password);
+ </custom_php_resync_config_command>
+ <include_file>/usr/local/pkg/tinydns.inc</include_file>
+ <fields>
+ <field>
+ <fieldname>ipaddress</fieldname>
+ <fielddescr>IP Address</fielddescr>
+ <description>The IP address that TinyDNS will Sync its data to.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fieldname>password</fieldname>
+ <fielddescr>Password</fielddescr>
+ <description>Admin password on remote firewall to faciliate sync</description>
+ <type>input</type>
+ </field>
+ </fields>
+</packagegui>