diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-07 18:39:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-07 18:39:00 +0000 |
commit | 0191abe502ae1e15b232117e593a39d21d786ef2 (patch) | |
tree | 6fb8aca8a20b8e48b8b615eca768a96fed20e601 | |
parent | 7ba9dd4f2f69c25130ad00c93804240665416de6 (diff) | |
download | pfsense-packages-0191abe502ae1e15b232117e593a39d21d786ef2.tar.gz pfsense-packages-0191abe502ae1e15b232117e593a39d21d786ef2.tar.bz2 pfsense-packages-0191abe502ae1e15b232117e593a39d21d786ef2.zip |
* Add custom filter file which will be used to drill down to domains and records
* Add TinyDNS Settings Tab
-rw-r--r-- | packages/tinydns/tinydns.xml | 5 | ||||
-rw-r--r-- | packages/tinydns/tinydns_domains.xml | 6 | ||||
-rw-r--r-- | packages/tinydns/tinydns_filter.php | 34 |
3 files changed, 39 insertions, 6 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml index 6d7d8245..40e99191 100644 --- a/packages/tinydns/tinydns.xml +++ b/packages/tinydns/tinydns.xml @@ -9,6 +9,11 @@ <section>Services</section> <url>/pkg_edit.php?xml=tinydns.xml&id=0</url> </menu> + <tab> + <text>TinyDNS Settings</text> + <url>/pkg_edit.php?xml=tinydns.xml&id=0</url> + <active/> + </tab> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml index f7c07ddc..da34c2fa 100644 --- a/packages/tinydns/tinydns_domains.xml +++ b/packages/tinydns/tinydns_domains.xml @@ -33,12 +33,6 @@ <type>input</type> </field> <field> - <fieldname>Failover Threshhold</fieldname> - <fielddescr>Time in minutes before DNS switches to backup host</fielddescr> - <required/> - <type>input</type> - </field> - <field> <type>rowhelper</type> <rowhelper> <rowhelperfield> diff --git a/packages/tinydns/tinydns_filter.php b/packages/tinydns/tinydns_filter.php new file mode 100644 index 00000000..ae0f166e --- /dev/null +++ b/packages/tinydns/tinydns_filter.php @@ -0,0 +1,34 @@ +<?php + +/* $Id$ */ +/* + tinydns_filter.php + Copyright (C) 2006 Scott Ullrich + part of pfSense + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ + +require("/usr/local/pkg/tinydns.inc"); + +?>
\ No newline at end of file |