Re: location for master file dump

2018-05-29 Thread Tony Finch
Anand Buddhdev wrote: > > You'll need to move your zones into /var/cache/bind, or a subdirectory > thereof. Better to use /var/lib rather than /var/cache especially if these are master zones, since /var/cache is supposed to be for data that can be automatically recovered. Tony. -- f.anthony.n.f

Re: location for master file dump

2018-05-27 Thread Matus UHLAR - fantomas
On Sun, May 27, 2018 at 09:13:30AM +0100, André Rodier via bind-users wrote: In the end, I finally used /var/cache/bind as the directory for bind9, and I do not have the error from AppArmor any more. Also, I did not want to loose the time I invested in the configuration. However, I kept my dom

Re: location for master file dump

2018-05-27 Thread /dev/rob0
On Sun, May 27, 2018 at 09:13:30AM +0100, André Rodier via bind-users wrote: > On Sat, 2018-05-26 at 22:45 +0100, André Rodier via bind-users wrote: > > On 2018-05-26 22:16, Anand Buddhdev wrote: > > > You've told BIND to load zones from /etc/bind, so it will try > > > to create the journal fil

Re: location for master file dump

2018-05-27 Thread André Rodier via bind-users
On Sat, 2018-05-26 at 22:45 +0100, André Rodier via bind-users wrote: > On 2018-05-26 22:16, Anand Buddhdev wrote: > > On 26/05/2018 19:47, André Rodier via bind-users wrote: > > > > Hi André > > > > > I need to precise, I have also added this option > > > in named.conf.options: > > > > > > dir

Re: location for master file dump

2018-05-26 Thread André Rodier via bind-users
On 2018-05-26 22:16, Anand Buddhdev wrote: On 26/05/2018 19:47, André Rodier via bind-users wrote: Hi André I need to precise, I have also added this option in named.conf.options: directory "/var/cache/bind"; And bind is creating the journal files inside: -rw-r--r-- 1 bind bind 1.4K May 26

Re: location for master file dump

2018-05-26 Thread Anand Buddhdev
On 26/05/2018 19:47, André Rodier via bind-users wrote: Hi André > I need to precise, I have also added this option in named.conf.options: > > directory "/var/cache/bind"; > > And bind is creating the journal files inside: > > -rw-r--r-- 1 bind bind 1.4K May 26 18:36 managed-keys.bind > -rw-r-

Re: location for master file dump

2018-05-26 Thread André Rodier via bind-users
On Sat, 2018-05-26 at 18:32 +0100, André Rodier via bind-users wrote: > Hello, > > I am trying to configure bind9 on Debian Stretch, and I have these > errors: > > > May 26 17:41:04 homebox named[29895]: dumping master file: > > /etc/bind/tmp-bIeOrs2Xus: open: permission denied > > May 26 17:54:

location for master file dump

2018-05-26 Thread André Rodier via bind-users
Hello, I am trying to configure bind9 on Debian Stretch, and I have these errors: > May 26 17:41:04 homebox named[29895]: dumping master file: > /etc/bind/tmp-bIeOrs2Xus: open: permission denied > May 26 17:54:38 homebox named[29895]: dumping master file: > /etc/bind/tmp-9iLruAW1CT: open: permi