From 9599adf898c3d4bc4b0d5732b2d14bdbf78c8b4c Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 22 Aug 2015 05:44:54 +0200 Subject: bind - code style fixes - Fix copyright header - Fix custom_php_validation_command syntax - Nuke unused tags - Improve descriptions, typo fixes --- config/bind/bind_zones.xml | 250 +++++++++++++++++++++++++-------------------- 1 file changed, 142 insertions(+), 108 deletions(-) (limited to 'config') diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml index c289ddd3..50f852c3 100644 --- a/config/bind/bind_zones.xml +++ b/config/bind/bind_zones.xml @@ -1,61 +1,50 @@ - - + + - . - All rights reserved. - */ -/* ========================================================================== */ + bind_zones.xml + part of pfSense (https://www.pfSense.org/) + Copyright (C) 2013 Juliano Oliveira + Copyright (C) 2013 Adriano Brancher + Copyright (C) 2015 ESF, LLC + All rights reserved. +*/ +/* ====================================================================================== */ /* - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, - INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, - OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - */ -/* ========================================================================== */ - ]]> + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +*/ + ]]> - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. bindzone none BIND: Zones Settings /usr/local/pkg/bind.inc - - BIND Server - -
Services
- bind.xml -
Settings @@ -116,17 +105,21 @@ temp01 - Disable this zone + Disable This Zone disabled - + Do not include this zone in BIND config files. checkbox Zone Name name - - For reverse zones, include zone IP in reverse order. (e.g. 1.168.192)
- IN-ADDR.ARPA will be automaticaly included in config files when reverse zone option is checked.]]>
+ + + For reverse zones, include zone IP in reverse order. (e.g. 1.168.192)
+ Note: IN-ADDR.ARPA will be automaticaly included in config files when reverse zone option is checked. + ]]> +
input
@@ -140,7 +133,7 @@ Zone Type type - + Select zone type. select @@ -154,7 +147,7 @@ View view - + Select (CTRL+click) the views that this zone will belong to. select_source name @@ -165,14 +158,14 @@ Reverse Zone reverso - Enable if this is a reverse zone. + Check if this is a reverse zone. checkbox reversv6o IPv6 Reverse Zone reversv6o - Enable if this is a IPv6 reverse zone. Reverse Zone must also be enabled. + Check if this is an IPv6 reverse zone. Reverse Zone must also be enabled. checkbox @@ -193,20 +186,28 @@ Inline Signing dnssec backupkeys - Enable inline DNSSEC signing for this zone.]]> + + Enable inline DNSSEC signing for this zone. + ]]> + checkbox - backup keys + Backup Keys backupkeys - + Enable this option to include all DNSSEC key files in XML. checkbox DSSET dsset - - Upload this DSSET to your domain root server.]]> + + + Upload this DSSET to your domain root server. + ]]> + textarea 75 3 @@ -220,8 +221,7 @@ Master Zone IP slaveip - If this is a slave zone, enter the IP address of the master DNS server. - + If this is a slave zone, enter the IP address of the master DNS server. input @@ -236,7 +236,6 @@ input 70 - listtopic Master Zone Configuration @@ -245,20 +244,23 @@ TLL tll - Default expiration time of all resource records without their own TTL value - + Default expiration time of all resource records without their own TTL value. input Name Server nameserver - Enter nameserver for this zone + Enter nameserver for this zone. input Base Domain IP ipns - Enter IP address for base domain lookup. Ex: nslookup mydomain.com + + nslookup mydomain.com return.) + ]]> + input @@ -270,42 +272,47 @@ Serial serial - Parsed value for the slave to update the DNS zone + Parsed value for the slave to update the DNS zone. input Refresh refresh - Slave refresh (1 day) + Slave refresh (Default: 1 day) input 1d Retry retry - Slave retry time in case of a problem (2 hours) + Slave retry time in case of a problem (Default: 2 hours) input 2h Expire expire - Slave expiration time (4 weeks) + Slave expiration time (Default: 4 weeks) input 4w Minimum minimum - Maximum caching time in case of failed lookups (1 hour) + Maximum caching time in case of failed lookups (Default: 1 hour) input 1h - Allow-update + allow-update allowupdate - - Allow-update defines a match list eg IP address(es) that are allowed to submit dynamic updates for 'master' zones, ie it enables Dynamic DNS (DDNS).]]> + + + The allow-update statement defines a match list of IP address(es) that are allowed  + to submit dynamic updates for 'master' zones - i.e., it enables Dynamic DNS (DDNS). + ]]> + select_source name @@ -314,26 +321,38 @@ 03 - Enable Update-policy + Enable update-policy enable_updatepolicy - - The update-policy statement replaces the allow-update statement.]]> + + + The update-policy statement replaces the allow-update statement. + ]]> + checkbox updatepolicy - Update-policy + update-policy updatepolicy - - Do not include the surrounding { } when using multiple statements]]> + + + Note: Do NOT include the surrounding { } when using multiple statements! + ]]> + input 75 - Allow-query + allow-query allowquery - - Allow-query defines an match list of IP address(es) which are allowed to issue queries to the server.]]> + + + The allow-query statement defines a match list of IP address(es) which are allowed to issue queries to the server. + ]]> + select_source name @@ -342,10 +361,20 @@ 03 - Allow-transfer + allow-transfer allowtransfer - - Allow-transfer defines a match list eg IP address(es) that are allowed to transfer (copy) the zone information from the server (master or slave for the zone). While on its face this may seem an excessively friendly default, DNS data is essentially public (that's why its there) and the bad guys can get all of it anyway. However if the thought of anyone being able to transfer your precious zone file is repugnant, or (and this is far more significant) you are concerned about possible DoS attack initiated by XFER requests, then use the following policy.]]> + + + The allow-transfer statement defines a match list of IP address(es) that are allowed to transfer  + (copy) the zone information from the server (master or slave for the zone). While on its face this may  + seem an excessively friendly default, DNS data is essentially public (that's why its there) and the bad guys  + can get all of it anyway.

+ However, if the thought of anyone being able to transfer your precious zone file is repugnant, or  + (and this is far more significant) you are concerned about possible DoS attack initiated by XFER requests,  + then you should use the following policy. + ]]> +
select_source name @@ -359,26 +388,30 @@ temp02
- Enter Domain records. - "Record" is the name or last octet of IP. Example: www or pop
- "Type" is the type of the record Sample: A CNAME MX NS
- "Priority" in used only in mx records to define its priority
- "Alias or IP address" is the destination host or ip address.

- You can order elements on this list with drag and drop between columns.]]>
+ Enter Domain Records + + "Record" is the name or last octet of an IP. (Example: www, pop, smtp)
+ "Type" is the type of the record. (Example: A, CNAME, MX, NS)
+ "Priority" is used only in MX records to define their priority.
+ "Alias or IP address" is the destination host or IP address.

+ Note: You can order the elements on this list with drag and drop. + ]]> +
none rowhelper Record hostname - Enter the Host Name (ex: www) + Enter the Host Name (Example: www) input 10 Type hosttype - Select Type Host + Select record type for this host. select @@ -397,15 +430,14 @@ Priority hostvalue - MX 10 or 20 + Priority for MX record. (Example: 10 or 20) input 3 Alias or IP address hostdst - Enter the IP address or FQDN destination for domain MX (ex: 10.31.11.1 or mail.example.com) - + Enter the IP address or FQDN destination for domain's MX (Example: 10.31.11.1 or mail.example.com) input 35 @@ -414,22 +446,24 @@
regdhcpstatic - Register DHCP static mappings - If this option is set, then DHCP static mappings will be registered in DNS, so that - their name can be resolved. - + Register DHCP Static Mappings + If this option is set, then DHCP static mappings will be registered in DNS, so that their name can be resolved. checkbox listtopic - Custom Zone Domain records + Custom Zone Domain Records temp02 customzonerecords - - This can be used for a fast migration setup.]]> + + + This can be used for a fast migration setup. + ]]> + textarea 84 10 @@ -439,7 +473,7 @@ listtopic - Resulting zone config file + Resulting Zone Config File @@ -459,13 +493,13 @@ bind_print_javascript_type_zone(); - - - if ($_POST['type']=="master" and $_POST['serial']=="") { - $_POST['serial']=(date("U")+ 1000000000); + bind_sync(); -- cgit v1.2.3