aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind
Commit message (Collapse)AuthorAgeFilesLines
* BIND - remove redundant variable initializationStuart Wyatt2015-04-091-1/+0
|
* BIND - clean up zone switch statementsStuart Wyatt2015-04-091-27/+39
| | | | Make the zone type cases more consistent and add default cases.
* 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-092-5/+10
| | | | | | | | | 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-092-1/+33
| | | | | | 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-092-5/+20
| | | | | | | | -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-092-2/+23
| | | | | | | 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-092-0/+19
| | | | | | 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-077-1131/+1229
| | | | | | | | 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
* Remove wrong message, just one log level can be selected. It fixes #4144Renato Botelho2014-12-261-2/+1
|
* Clean up some of BIND text.Chris Buechler2014-11-285-45/+45
|
* fixed bind zone journal out of sync issue when updating zoneTaylor Lanclos2014-08-271-1/+1
|
* 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-092-2/+2
|
* bindcrocomo2014-03-201-28/+39
|
* Fixup URLs:Renato Botelho2014-03-182-9/+9
| | | | | | - Replace http by https - *.pfsense.com -> *.pfsense.org - www.pfsense.org/packages/config -> packages.pfsense.org/packages/config
* Enable built-in ACLs; Fix version.bind; Fix typoscrocomo2014-03-042-10/+16
| | | | | | | | | | | * 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).
* Typo s/bloc/blockcrocomo2014-02-231-1/+1
|
* Typo s/reveser/reversecrocomo2014-02-231-1/+1
|
* 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
|
* bind - bump pkg versionMarcello Coutinho2013-11-111-0/+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-102-1/+18
| | | | | | | | | 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-062-3/+4
|
* bind - fix reverse zones after including $ORIGINMarcello Coutinho2013-10-281-1/+4
|
* bind - include custom zone records fieldMarcello Coutinho2013-10-252-12/+34
|
* bind -remove unsed functions and fix sync code for automatic option.Marcello Coutinho2013-10-252-20/+5
|
* bind - include dnssec backup to xml option, include a lot of logging options ↵Marcello Coutinho2013-10-244-30/+157
| | | | | | 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-234-28/+87
|
* bind - bump version and change acl field descriptionMarcello Coutinho2013-10-181-3/+6
|
* bind - fix chroot dev devices again, include dsset info on gui for dnssec zones.Marcello Coutinho2013-10-184-27/+83
| | | | | Encode custom options with base64. sync code change zone type to slave on backup servers
* bind - add inline-signing dnssec optionMarcello Coutinho2013-10-182-7/+51
|
* bind - reduce statup errosMarcello Coutinho2013-10-171-10/+1
|
* bind - add widget, forward zone, rndc config and check slave zone dir ↵Marcello Coutinho2013-10-174-88/+267
| | | | 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-162-86/+127
|
* 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-112-27/+59
|
* 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-103-148/+38
|
* bind - add rate limit optionMarcello Coutinho2013-10-102-14/+55
|
* bind - fix serial number to EPOCH plus magic number to get higher then ↵Marcello Coutinho2013-10-091-1/+1
| | | | current 2013xxxx format
* bind - run named with chrootMarcello Coutinho2013-10-094-38/+51
|