aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns/tinydns_sync.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-14 05:08:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-14 05:08:00 +0000
commitc0379721edc8f2ff4cf04c5a07e77364d8a275e4 (patch)
tree30950433d02f62640660109d2ad6370120320787 /packages/tinydns/tinydns_sync.xml
parente35b092b0e9c8a261899decd1d3cd857a55a95b3 (diff)
downloadpfsense-packages-c0379721edc8f2ff4cf04c5a07e77364d8a275e4.tar.gz
pfsense-packages-c0379721edc8f2ff4cf04c5a07e77364d8a275e4.tar.bz2
pfsense-packages-c0379721edc8f2ff4cf04c5a07e77364d8a275e4.zip
* Reload target sync hosts zone records after a sync
* Add 2 more optional sync hosts so that we can sync to 2 extra hosts making it easier to manage 3 hosts that run tinydns.
Diffstat (limited to 'packages/tinydns/tinydns_sync.xml')
-rw-r--r--packages/tinydns/tinydns_sync.xml30
1 files changed, 29 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml
index 2156aaba..82c04897 100644
--- a/packages/tinydns/tinydns_sync.xml
+++ b/packages/tinydns/tinydns_sync.xml
@@ -90,8 +90,36 @@
<description>Admin password on remote firewall to faciliate sync</description>
<type>password</type>
</field>
+ <field>
+ <fielddescr>IP Address 2</fielddescr>
+ <fieldname>ipaddress2</fieldname>
+ <description>OPTIONAL. The IP address that TinyDNS will Sync its data to.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Password</fielddescr>
+ <fieldname>password2</fieldname>
+ <description>Admin password on remote firewall to faciliate sync</description>
+ <type>password</type>
+ </field>
+ <field>
+ <fielddescr>IP Address 3</fielddescr>
+ <fieldname>ipaddress</fieldname>
+ <description>OPTIONAL. The IP address that TinyDNS will Sync its data to.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Password 3</fielddescr>
+ <fieldname>password3</fieldname>
+ <description>Admin password on remote firewall to faciliate sync</description>
+ <type>password</type>
+ </field>
</fields>
<custom_php_resync_config_command>
tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']);
+ if($_POST['ipaddress2])
+ tinydns_do_xmlrpc_sync($_POST['ipaddress2'], $_POST['password2']);
+ if($_POST['ipaddress3])
+ tinydns_do_xmlrpc_sync($_POST['ipaddress3'], $_POST['password3']);
</custom_php_resync_config_command>
-</packagegui>
+</packagegui> \ No newline at end of file