diff options
author | Stuart Wyatt <stuart@gogglespisano.com> | 2015-04-09 10:15:29 -0700 |
---|---|---|
committer | Stuart Wyatt <stuart@gogglespisano.com> | 2015-04-09 10:15:29 -0700 |
commit | d9e1f0cfc47ec7c204f82896ae723ff557b6c02c (patch) | |
tree | d4b455067222e03a49fb52de60b89b2f9a6778f9 /config/bind/bind.xml | |
parent | fe0163a939023f87b259f3475a89ee632824a973 (diff) | |
download | pfsense-packages-d9e1f0cfc47ec7c204f82896ae723ff557b6c02c.tar.gz pfsense-packages-d9e1f0cfc47ec7c204f82896ae723ff557b6c02c.tar.bz2 pfsense-packages-d9e1f0cfc47ec7c204f82896ae723ff557b6c02c.zip |
BIND - clean up zone code
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
Diffstat (limited to 'config/bind/bind.xml')
0 files changed, 0 insertions, 0 deletions