From 9f2521ca8351e454e03193ddccbf5eb2166ec1fd Mon Sep 17 00:00:00 2001 From: Daniel Stefan Haischt Date: Sat, 1 Sep 2007 04:10:13 +0000 Subject: * 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 --- packages/tinydns/tinydns.xml | 71 ++++++++++++++++++------------------ packages/tinydns/tinydns_domains.xml | 48 +++++++++++++----------- packages/tinydns/tinydns_sync.xml | 13 ++++--- 3 files changed, 69 insertions(+), 63 deletions(-) (limited to 'packages/tinydns') diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml index b4aaa4fe..ac9359c5 100644 --- a/packages/tinydns/tinydns.xml +++ b/packages/tinydns/tinydns.xml @@ -1,4 +1,5 @@ + @@ -46,8 +47,9 @@ Currently there are no FAQ items provided. tinydns 1.0 - installedpackages->package->tinydns DNS Cache-Server: Settings + /pkg_edit.php?xml=tinydns.xml&id=0 + /usr/local/pkg/tinydns.inc DNS Servers @@ -81,7 +83,7 @@ /pkg_edit.php?xml=tinydns_sync.xml&id=0 - /pkg_edit.php?xml=tinydns.xml&id=0 + installedpackages->package->tinydns /usr/local/pkg/ 077 @@ -137,31 +139,6 @@ 077 http://www.pfsense.com/packages/config/tinydns/tinydns_sync.xml - - tinydns_custom_php_install_command(); - - - tinydns_custom_php_deinstall_command(); - - - tinydns_custom_php_changeip_command(); - tinydns_custom_php_install_command(); - tinydns_create_zone_file(); - tinydns_setup_ping_items(); - - - tinydns_custom_php_changeip_command(); - tinydns_custom_php_install_command(); - tinydns_create_zone_file(); - tinydns_setup_ping_items(); - - - tinydns_custom_php_changeip_command(); - tinydns_custom_php_install_command(); - tinydns_create_zone_file(); - tinydns_setup_ping_items(); - - /usr/local/pkg/tinydns.inc Enable DNS Forwarders @@ -182,57 +159,81 @@ checkbox - ipaddress IP Address + ipaddress Bind TinyDNS to this IP address. Enable DNS Forwarders bind TinyDNS to the LAN IP. input - refreshinterval Refresh Interval + refreshinterval Controls how often the monitoring ip adresses are polled input - syncxmlrpc XMLRPC Sync + syncxmlrpc Sync TinyDNS configuration to backup firewalls checkbox - minsegment Minimum segment size + minsegment Recommended size: 10240 or larger. input 10240 - maxfilesize Maximum file size + maxfilesize Recommended size: 10240 or larger. input 10240 - maxsegment Max Segment size + maxsegment Recommended size: 20480 or larger. input 20480 - maxfd Maximum file descriptors + maxfd Recommended size: 100 or larger. input 100 - maxchild Maximum children processes + maxchild Recommended size: 40 or larger. input 40 + + tinydns_custom_php_changeip_command(); + tinydns_custom_php_install_command(); + tinydns_create_zone_file(); + tinydns_setup_ping_items(); + + + tinydns_custom_php_changeip_command(); + tinydns_custom_php_install_command(); + tinydns_create_zone_file(); + tinydns_setup_ping_items(); + + + tinydns_custom_php_changeip_command(); + tinydns_custom_php_install_command(); + tinydns_create_zone_file(); + tinydns_setup_ping_items(); + + + tinydns_custom_php_install_command(); + + + tinydns_custom_php_deinstall_command(); + 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 @@ + @@ -45,9 +46,9 @@ Describe your package requirements here Currently there are no FAQ items provided. tinydnsdomains - installedpackages->package->tinydnsdomains - /usr/local/pkg/tinydns.inc + none TinyDNS: Domains + /usr/local/pkg/tinydns.inc Settings @@ -75,6 +76,7 @@ /pkg_edit.php?xml=tinydns_sync.xml&id=0 + installedpackages->package->tinydnsdomains Fully Qualified Domain Name (Hostname) @@ -95,29 +97,29 @@ - hostname Hostname or FQDN www.exampledomain.com + hostname The DNS server will supply Records for the Fully Qualified Domain Name that is entered - input 35 + Record type recordtype DNS Record types. A, PTR, MX, NS, SOA, TXT, CNAME - select 1 + - - - - - - - - + + + + + + + + @@ -127,32 +129,34 @@ checkbox - ipaddress FQDN or IP Address + ipaddress IP Address for A Records. FQDN or Hostname for SOA, PTR, CNAME Records. For NS Records an IP:FQDN - input 40 + - ttl DNS record time to live + ttl input 35 - monitorip IP to ping to ensure service is up + monitorip input 35 - threshhold Time in minutes before DNS switches to backup host + threshhold input 35 + none + none rowhelper @@ -192,14 +196,14 @@ - - tinydns_create_zone_file(); - tinydns_setup_ping_items(); - tinydns_create_zone_file(); tinydns_setup_ping_items(); + + tinydns_create_zone_file(); + tinydns_setup_ping_items(); + tinydns_create_zone_file(); tinydns_setup_ping_items(); diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml index 2097acc0..2156aaba 100644 --- a/packages/tinydns/tinydns_sync.xml +++ b/packages/tinydns/tinydns_sync.xml @@ -1,4 +1,5 @@ + @@ -46,11 +47,7 @@ Currently there are no FAQ items provided. tinydnssync 1.0 - installedpackages->package->tinydns TinyDNS: Manual Sync - - tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); - /usr/local/pkg/tinydns.inc @@ -79,18 +76,22 @@ + installedpackages->package->tinydns - ipaddress IP Address + ipaddress The IP address that TinyDNS will Sync its data to. input - password Password + password Admin password on remote firewall to faciliate sync password + + tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); + -- cgit v1.2.3