. All rights reserved. */ /* ========================================================================== */ /* 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. 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. */ /* ========================================================================== */ ]]> 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 /pkg_edit.php?xml=bind.xml ACLs /pkg.php?xml=bind_acls.xml Views /pkg.php?xml=bind_views.xml Zones /pkg.php?xml=bind_zones.xml&id=0 Sync /pkg_edit.php?xml=bind_sync.xml ['installedpackages']['bindzone']['config'] Zones Name name Zonas Type type View Name view Description description on listtopic Domain Zone Configuration temp01 Zone Name: name Enter the name for zone (ex:exemple.com.br) input Zonas Type type Select the type that zone to Master Primary DNS, Secondary DNS to select Slave. select on_type_zone_changed() View view select_source name name Zone Reverse reverso Enable this if the zone is reverse. checkbox custom Option custom You can put your own custom options here, separated by semi-colons (;). textarea 65 3 Description description Enter the description for this zone. textarea 65 3 listtopic Slave Zone Configuration temp04 IP Master Zone slaveip If zone is slave, enter the IP address of the master DNS zone. input listtopic Master Zone Configuration temp03 TLL tll Default expiration time of all resource records without their own TTL value input Name Server nameserver Enter ns.example.com is a nameserver for example.com input IP Name Server ipns Enter address ip for nameserver input Mail Admin Zone mail Enter mail admin zone, is . not @ input Serial serial Parsed value for the slave to update the DNS Zone input Refresh refresh Slave refresh (1 day) input 1d Retry retry Slave retry time in case of a problem (2 hours) input 2h Expire expire Slave expiration time (4 weeks) input 4w Minimum minimum Maximum caching time in case of failed lookups (1 hour) input 1h Allow-update allowupdate select_source name name 03 Allow-query allowquery Allow-query defines an match list of IP address(es) which are allowed to issue queries to the server. select_source name name 03 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. select_source name name 03 listtopic Hosts Configuration Zone Domain temp02 Enter the desired host, "Host Name" is the name of the Host: www or pop, "Host Type" simple kind host, "Value" in case the MX priority, "CNAME or IP address" is the destination host. none rowhelper Host Name hostname Enter the Host Name (ex: www) input 20 Host Type hosttype Select Type Host select Value hostvalue MX 10 or 20 input 1 Ip Address or CNAME destination hostdst Enter the IP address or CNAME destination for Domain (ex: 10.31.11.1 or mail.example.com) input 20 bind_print_javascript_type_zone2(); bind_print_javascript_type_zone(); bind_views_before_form_dest(&$pkg,"bindacls","name","allowtransfer"); bind_views_before_form_dest(&$pkg,"bindacls","name","allowquery"); bind_views_before_form_dest(&$pkg,"bindacls","name","allowupdate"); bind_views_before_form_dest(&$pkg,"bindviews","name","view"); bind_zona_before_form_dest(&$pkg,"bindzone","name","serial"); $_POST['serial']=$_POST['serial']+1; bind_sync(); bind_sync();