aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
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>