aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind/bind.inc
Commit message (Collapse)AuthorAgeFilesLines
* BIND - improve indentation in generated named.conf fileStuart Wyatt2015-04-091-10/+12
| | | | This improves the readability of the generated named.conf file.
* BIND - add support for multiple views per zone configurationStuart Wyatt2015-04-091-4/+7
| | | | | | | | | Often a zone configuration can be identical for LAN/local and WAN/pulic views, especially when using NAT reflection. This change allows those zones to only be entered once in the configuration and then applied to both the local and public views. The change converts the zone's 'view' field from a single selection to an array multiple selection. Since an old value of 'local' is the same as an array value with only one element for 'local', this change is backwards compatible with existing configurations. For that reason, I'm leaving the field name as 'view' rather than changing it to 'views' When the zones are being added to the view clause, it will now check to see if the view is in the zone's view list rather than checking to see if it is a simple match before including the zone in the view. By setting the old varible $zoneview to the matching view from the list, the existing code needs very little change.
* BIND - add support for zone update-policy statement on master zonesStuart Wyatt2015-04-091-1/+17
| | | | | | The update-policy statement allows the zone to specify, among other things, a key to be used for authorization of master zone updates Add a checkbox and text field to add an update-policy statement to the zone configuration. When the update-policy statement is used, it replaces the allow-update statement.
* BIND - clean up zone codeStuart Wyatt2015-04-091-6/+23
| | | | | | | | | Trim trailing ; from forwarders since ; is added when it is written to the config. Since it's a list of semi-colon separated values, users can accidently add a trailing ; Only ensure the view folder exists if the zone is not a 'forward' zone since forward zones are only in named.conf and don't have a .DB file Add allow-query statements to slave and redirect zones Add allowquery and allowupdate fields to on_type_zone_changed() Use isempty() on customoptions and forwarders to skip adding empty statements Use isempty() instead of == '' on some statements
* BIND - add support for named command line options -4 and -6Stuart Wyatt2015-04-091-5/+8
| | | | | | | | -4 and -6 restrict the resolver to use the IPv4 and IPv6 transports respectively. The option is needed for the cases such as when you have IPv6 enabled on the LAN, but the WAN does not support IPv6. Add a list of choices with IPv4+IPv6 (default), IPv4 (only) and IPv6 (only) If IPv4 is selected, -4 will be added to the command line If IPv6 is selected, -6 will be added to the command line
* BIND - add support for IPv6 reverse zonesStuart Wyatt2015-04-091-2/+16
| | | | | | | Add a supplemental checkbox to "Reverse Zone" which further qualifies the reverse zone as an IPv6 reverse zone. The resulting zone name will be *.ipv6.arpa rather than *.ip-addr.arpa This change was originally submitted by https://github.com/cuteredstorm/pfsense-packages/commit/2b4e8084a92c8e9936f1b2fdca8272d29217c20a for Bug #4553
* BIND - add global settings for named.confStuart Wyatt2015-04-091-0/+2
| | | | | | Add field similar to custom options, but for global settings. Rather than being added to the options{} clause, these settings are added directly to named.conf. This allows the addition of items such as key{} and server{} clauses.
* BIND package code clean up - variable initialization and dead codeStuart Wyatt2015-04-071-17/+6
| | | | | | Initialize variables before .= concatenation Remove dead code (unused copy/paste of zone CONFIG settings not used in zone DB) Remove unused [$i] on $custom_root_zone and initialize
* BIND package code clean upStuart Wyatt2015-04-071-534/+606
| | | | | | | | Code cleanup to reflect coding style guidelines and consistency Tabs only, always uses braces, spacing C/C++ style comments Use array_key_exists instead of key_exists $config[] keys are always enclosed in quotes and use single quotes for literals
* Clean up some of BIND text.Chris Buechler2014-11-281-5/+5
|
* Bugfix: Slave zones honour allow transferOskar Johansson2014-05-161-1/+1
| | | Fix bug where slave zones didn't honour the allow-transfer setting and wrote "none" in the config at all times
* Fix call-time pass-by-reference in bind, bump.jim-p2014-05-091-1/+1
|
* bindcrocomo2014-03-201-28/+39
|
* Enable built-in ACLs; Fix version.bind; Fix typoscrocomo2014-03-041-9/+15
| | | | | | | | | | | * Enable use of the built-in ACLs as per [1]. Especially 'localhost' and 'localnets' come in handy on large firewall installations. * Fix version.bind so that the server does not process queries at all as per [1], which is more secure. * Typo with listenon: Any -> any (more or less an esthetic fix) * Two minor indentation errors [1] http://ftp.isc.org/isc/bind9/cur/9.9/doc/arm/Bv9ARM.ch06.html
* Fix indentation of custom optioncrocomo2014-02-231-2/+2
|
* Fix logging facilitiescrocomo2014-02-231-1/+2
| | | Include 'named' in the list of $separatelogfacilities in system.inc so that messages ONLY show up in resolver.log (and not system.log as well).
* Update reverse zone for dhcp static mapmbfgit2014-02-031-3/+24
| | | Addresses Bug #3323, add PTR records for reverse zone.
* Fix typo s/pfsese/pfsenseRenato Botelho2013-12-301-3/+3
|
* bind - fix final . check for ipv6 addresses.Marcello Coutinho2013-12-121-1/+1
|
* Disable logging should not mean default loggingJean Cyr2013-11-101-0/+3
| | | | - Prevent bind from flooding logs when 'enable logging' is not checked.
* bind - optionally add static dhcp leases at zone A recordsJean Cyr2013-11-101-0/+12
| | | | | | | | | Similar to 'unbound' feature to avoid the need to duplicate static host addresses in both DHCP and BIND. - Add 'Register DHCP static mappings' checkbox to zone form - if checked, enumerate all static DHCP hosts and add to zone, such that their name can be resolved.
* bind - fix bind service starting while disabled on guiMarcello Coutinho2013-11-061-5/+10
|
* bind - fix ipv6 listening check and add SPF record to bind zone.Marcello Coutinho2013-11-061-3/+3
|
* bind - fix reverse zones after including $ORIGINMarcello Coutinho2013-10-281-1/+4
|
* bind - include custom zone records fieldMarcello Coutinho2013-10-251-6/+10
|
* bind -remove unsed functions and fix sync code for automatic option.Marcello Coutinho2013-10-251-18/+5
|
* bind - include dnssec backup to xml option, include a lot of logging options ↵Marcello Coutinho2013-10-241-23/+91
| | | | | | and forward it to resolver systemlog tab via syslog. add more info on sync tab
* bind - include redirect zone type, enable/disable zone option and fix sync codeMarcello Coutinho2013-10-231-21/+62
|
* bind - fix chroot dev devices again, include dsset info on gui for dnssec zones.Marcello Coutinho2013-10-181-10/+40
| | | | | Encode custom options with base64. sync code change zone type to slave on backup servers
* bind - add inline-signing dnssec optionMarcello Coutinho2013-10-181-1/+39
|
* bind - reduce statup errosMarcello Coutinho2013-10-171-10/+1
|
* bind - add widget, forward zone, rndc config and check slave zone dir ↵Marcello Coutinho2013-10-171-75/+152
| | | | permissions
* bind - change root folder from /conf symlink to /cf dirMarcello Coutinho2013-10-161-4/+4
|
* bind - show result file on zone tab and fix slave zone checkMarcello Coutinho2013-10-161-84/+109
|
* bind - include missing conf_mount_ro/rw for nanobsdMarcello Coutinho2013-10-141-1/+7
|
* bind - bump version and add field validation for zone tabMarcello Coutinho2013-10-111-4/+30
|
* bind - bump version and fix zone loop var reset.Marcello Coutinho2013-10-111-1/+1
|
* bind - remove unused functions and change config result fileMarcello Coutinho2013-10-101-91/+28
|
* bind - add rate limit optionMarcello Coutinho2013-10-101-2/+15
|
* bind - run named with chrootMarcello Coutinho2013-10-091-27/+39
|
* bind - Fix typosMarcello Coutinho2013-10-081-7/+7
| | | | Thanks to phil-davis
* bind - First package filesMarcello Coutinho2013-10-071-0/+605