aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-07 17:48:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-07 17:48:59 +0000
commitec6461ff27742fec0deb9a8edde135f226d57899 (patch)
tree8e22ff5ae964cfa6e705ee4de84197df89ba395f /packages/tinydns
parent17d2c8d44d39b250a1e57637c9c1051a903aec7d (diff)
downloadpfsense-packages-ec6461ff27742fec0deb9a8edde135f226d57899.tar.gz
pfsense-packages-ec6461ff27742fec0deb9a8edde135f226d57899.tar.bz2
pfsense-packages-ec6461ff27742fec0deb9a8edde135f226d57899.zip
* Add tinydns for 2.0 so that we can start bending the code into shape
* Add more fields. This package will use a custom page to filter domains and then pass the filtered item on to the tinydns_domains.xml CoreGUI program
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns.xml2
-rw-r--r--packages/tinydns/tinydns_domains.xml44
2 files changed, 42 insertions, 4 deletions
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml
index 8faaf778..0b306755 100644
--- a/packages/tinydns/tinydns.xml
+++ b/packages/tinydns/tinydns.xml
@@ -2,7 +2,7 @@
<packagegui>
<name>tinydns</name>
<version>1.0</version>
- <configpath>installedpackages->package->tinydns->configuration->settings</configpath>
+ <configpath>installedpackages->package->tinydns</configpath>
<menu>
<name>tinydns</name>
<tooltiptext></tooltiptext>
diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml
index 82b7893b..f7c07ddc 100644
--- a/packages/tinydns/tinydns_domains.xml
+++ b/packages/tinydns/tinydns_domains.xml
@@ -1,15 +1,53 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
<name>tinydnsdomains</name>
- <configpath>installedpackages->package->tinydnsdomains->configuration->settings</configpath>
+ <configpath>installedpackages->package->tinydnsdomains</configpath>
<include_file>/usr/local/pkg/tinydns.inc</include_file>
<fields>
<field>
- <fieldname>Domain</fieldname>
- <fielddescr>Domain name. Example: exampledomain.com</fielddescr>
+ <fieldname>Hostname/Domain</fieldname>
+ <fielddescr>Domain name. Example: www.exampledomain.com</fielddescr>
<description>Enter the domain name that you would like to serve dns records for.</description>
<required/>
<type>input</type>
</field>
+ <field>
+ <fielddescr>Record type</fielddescr>
+ <fieldname>recordtype</fieldname>
+ <description>DNS Record type. MX, A, etc</description>
+ <type>select</type>
+ <size>1</size>
+ <options>
+ <option><value></value><name></name></option>
+ <option><value>MX</value><name>MX</name></option>
+ <option><value>A</value><name>A</name></option>
+ <option><value>SOA</value><name>.</name></option>
+ <option><value>PTR</value><name>=</name></option>
+ <option><value>CNAME</value><name>CNAME</name></option>
+ </options>
+ </field>
+ <field>
+ <fieldname>Failover Threshhold</fieldname>
+ <fielddescr>Time in minutes before DNS switches to backup host</fielddescr>
+ <required/>
+ <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>
+ <fielddescr>Failover IP</fielddescr>
+ <fieldname>failoverip</fieldname>
+ <description>Failover IP when host is not responding to ICMP/PING traffic</description>
+ <type>input</type>
+ </rowhelperfield>
+ </rowhelper>
+ </field>
</fields>
</packagegui>