]> git.ipfire.org Git - thirdparty/pdns.git/commit
pdns_control bind-add-zone check for zonefile
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 4 May 2016 14:55:59 +0000 (16:55 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 8 Jun 2016 09:10:39 +0000 (11:10 +0200)
commitc0475277537dadcdf085134b00cd7ed45258391c
tree7a45c0e635f61b9522117f02301625526e06b939
parentda3330507ed3bbb74853122c768e62f036202dae
pdns_control bind-add-zone check for zonefile

We now check if we can access the zonefile before we add a zone to the
bindbackend via `pdns_control bind-add-zone`. By sheer luck, this
function worked on relative names (names were relative to the PWD of the
pdns_server process), so we now force the use of absolute names (unless
we are chrooted). Closes #3078

Update the pdns_control(1) manpage with the bind commands.
docs/manpages/pdns_control.1.md
modules/bindbackend/bindbackend2.cc
regression-tests/tests/bind-add-zone/command