aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/tinydns/tinydns.xml12
-rw-r--r--config/tinydns/tinydns_domains.xml61
2 files changed, 67 insertions, 6 deletions
diff --git a/config/tinydns/tinydns.xml b/config/tinydns/tinydns.xml
index 1586bdba..1bca6e8c 100644
--- a/config/tinydns/tinydns.xml
+++ b/config/tinydns/tinydns.xml
@@ -180,13 +180,13 @@
<type>checkbox</type>
</field>
<field>
- <fielddescr>Interface to listen</fielddescr>
- <fieldname>interface</fieldname>
- <type>interfaces_selection</type>
- <multiple>on</multiple>
- <size>4</size>
+ <fielddescr>Interface to listen</fielddescr>
+ <fieldname>interface</fieldname>
+ <type>interfaces_selection</type>
+ <multiple>on</multiple>
+ <size>4</size>
<required>on</required>
- </field>
+ </field>
<field>
<fielddescr>Register DHCP static mappings with server</fielddescr>
<fieldname>regdhcpstatic</fieldname>
diff --git a/config/tinydns/tinydns_domains.xml b/config/tinydns/tinydns_domains.xml
index d7c4c987..01211a97 100644
--- a/config/tinydns/tinydns_domains.xml
+++ b/config/tinydns/tinydns_domains.xml
@@ -97,6 +97,67 @@
</adddeleteeditpagefields>
<fields>
<field>
+ <type>sorting</type>
+ <include_filtering_inputbox/>
+ <display_maximum_rows>200</display_maximum_rows>
+ <sortablefields>
+ <item>
+ <name>Domain</name>
+ <fieldname>hostname</fieldname>
+ <regex>
+ <![CDATA[
+ /^.*\.%FILTERTEXT%.*$/
+ ]]>
+ </regex>
+ </item>
+ <item>
+ <name>Hostname</name>
+ <fieldname>hostname</fieldname>
+ <regex>
+ <![CDATA[
+ /^%FILTERTEXT%.*$/
+ ]]>
+ </regex>
+ </item>
+ <item>
+ <name>A Records</name>
+ <fieldname>recordtype</fieldname>
+ <regex>
+ <![CDATA[
+ /^A$/
+ ]]>
+ </regex>
+ </item>
+ <item>
+ <name>MX Records</name>
+ <fieldname>recordtype</fieldname>
+ <regex>
+ <![CDATA[
+ /^MX$/
+ ]]>
+ </regex>
+ </item>
+ <item>
+ <name>PTR Records</name>
+ <fieldname>recordtype</fieldname>
+ <regex>
+ <![CDATA[
+ /^PTR$/
+ ]]>
+ </regex>
+ </item>
+ <item>
+ <name>SOA Records</name>
+ <fieldname>recordtype</fieldname>
+ <regex>
+ <![CDATA[
+ /^SOA$/
+ ]]>
+ </regex>
+ </item>
+ </sortablefields>
+ </field>
+ <field>
<type>listtopic</type>
<name>General</name>
<fieldname>temp</fieldname>