aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns.xml2
-rw-r--r--packages/tinydns/tinydns_domains.xml44
-rw-r--r--pkg_config.xml15
3 files changed, 57 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>
diff --git a/pkg_config.xml b/pkg_config.xml
index 71118a79..885a0095 100644
--- a/pkg_config.xml
+++ b/pkg_config.xml
@@ -3,6 +3,21 @@
<!-- $Id$ -->
<pfsensepkgs>
<packages>
+ <package>
+ <name>tinydns</name>
+ <descr>pfSense version of TinyDNS which features failover host support</descr>
+ <website>http://cr.yp.to/djbdns.html</website>
+ <category>Services</category>
+ <version>1.0</version>
+ <status>ALPHA</status>
+ <required_version>2.0</required_version>
+ <config_file>http://www.pfsense.com/packages/config/tinydns/tinydns.xml</config_file>
+ <configurationfile>tinydns.xml</configurationfile>
+ <depends_on_package_base_url>http://www.pfsense.com/packages/All/djbdns/</depends_on_package_base_url>
+ <depends_on_package>daemontools-0.76_9.tbz</depends_on_package>
+ <depends_on_package>ucspi-tcp-0.88_1.tbz</depends_on_package>
+ <depends_on_package>djbdns-1.05_9.tbz</depends_on_package>
+ </package>
<package>
<name>arping</name>
<descr>Broadcasts a who-has ARP packet on the network and prints answers. VERY useful when you are trying to pick an unused IP for a net that you don't yet have routing to. Then again, if you have no idea what I'm talking about then you prolly don't need it.</descr>