diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-09-01 04:10:13 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-09-01 04:10:13 +0000 |
commit | 9f2521ca8351e454e03193ddccbf5eb2166ec1fd (patch) | |
tree | 2df2d2ba5cf8123d90bb81b1039c3cec071330e0 /packages/tinydns/tinydns_domains.xml | |
parent | 188234df1c9d986f8a7fc80d0f57cbd91125fb14 (diff) | |
download | pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.gz pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.bz2 pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.zip |
* added copyright header to each file
* added XSL stylesheet to each file
* added DTD to some files (TODO: Add DTD to the remaining files and validate them against the DTD)
* added a Document Type Definition which allows to validate package files
Diffstat (limited to 'packages/tinydns/tinydns_domains.xml')
-rw-r--r-- | packages/tinydns/tinydns_domains.xml | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/packages/tinydns/tinydns_domains.xml b/packages/tinydns/tinydns_domains.xml index 2e9213d6..2a7bf6e6 100644 --- a/packages/tinydns/tinydns_domains.xml +++ b/packages/tinydns/tinydns_domains.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> <packagegui> <copyright> @@ -45,9 +46,9 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>tinydnsdomains</name> - <configpath>installedpackages->package->tinydnsdomains</configpath> - <include_file>/usr/local/pkg/tinydns.inc</include_file> + <version>none</version> <title>TinyDNS: Domains</title> + <include_file>/usr/local/pkg/tinydns.inc</include_file> <tabs> <tab> <text>Settings</text> @@ -75,6 +76,7 @@ <url>/pkg_edit.php?xml=tinydns_sync.xml&id=0</url> </tab> </tabs> + <configpath>installedpackages->package->tinydnsdomains</configpath> <adddeleteeditpagefields> <columnitem> <fielddescr>Fully Qualified Domain Name (Hostname)</fielddescr> @@ -95,29 +97,29 @@ </adddeleteeditpagefields> <fields> <field> - <fieldname>hostname</fieldname> <fielddescr>Hostname or FQDN www.exampledomain.com</fielddescr> + <fieldname>hostname</fieldname> <description>The DNS server will supply Records for the Fully Qualified Domain Name that is entered</description> - <required/> <type>input</type> <size>35</size> + <required/> </field> <field> <fielddescr>Record type</fielddescr> <fieldname>recordtype</fieldname> <description>DNS Record types. A, PTR, MX, NS, SOA, TXT, CNAME</description> - <required/> <type>select</type> <size>1</size> + <required/> <options> - <option><value></value><name></name></option> - <option><value>A</value><name>A</name></option> - <option><value>MX</value><name>MX</name></option> - <option><value>NS</value><name>NS</name></option> - <option><value>SOA</value><name>SOA</name></option> - <option><value>PTR</value><name>PTR</name></option> - <option><value>CNAME</value><name>CNAME</name></option> - <option><value>TXT</value><name>TXT</name></option> + <option><name></name><value></value></option> + <option><name>A</name><value>A</value></option> + <option><name>MX</name><value>MX</value></option> + <option><name>NS</name><value>NS</value></option> + <option><name>SOA</name><value>SOA</value></option> + <option><name>PTR</name><value>PTR</value></option> + <option><name>CNAME</name><value>CNAME</value></option> + <option><name>TXT</name><value>TXT</value></option> </options> </field> <field> @@ -127,32 +129,34 @@ <type>checkbox</type> </field> <field> - <fieldname>ipaddress</fieldname> <fielddescr> FQDN or IP Address</fielddescr> + <fieldname>ipaddress</fieldname> <description>IP Address for A Records. FQDN or Hostname for SOA, PTR, CNAME Records. For NS Records an IP:FQDN</description> - <required/> <type>input</type> <size>40</size> + <required/> </field> <field> - <fieldname>ttl</fieldname> <fielddescr>DNS record time to live</fielddescr> + <fieldname>ttl</fieldname> <type>input</type> <size>35</size> </field> <field> - <fieldname>monitorip</fieldname> <fielddescr>IP to ping to ensure service is up</fielddescr> + <fieldname>monitorip</fieldname> <type>input</type> <size>35</size> </field> <field> - <fieldname>threshhold</fieldname> <fielddescr>Time in minutes before DNS switches to backup host</fielddescr> + <fieldname>threshhold</fieldname> <type>input</type> <size>35</size> </field> <field> + <fielddescr>none</fielddescr> + <fieldname>none</fieldname> <type>rowhelper</type> <rowhelper> <rowhelperfield> @@ -192,14 +196,14 @@ </rowhelper> </field> </fields> - <custom_add_php_command> - tinydns_create_zone_file(); - tinydns_setup_ping_items(); - </custom_add_php_command> <custom_delete_php_command> tinydns_create_zone_file(); tinydns_setup_ping_items(); </custom_delete_php_command> + <custom_add_php_command> + tinydns_create_zone_file(); + tinydns_setup_ping_items(); + </custom_add_php_command> <custom_php_resync_config_command> tinydns_create_zone_file(); tinydns_setup_ping_items(); |