a few more notes

Farkas Levente lfarkas at bppiac.hu
Thu Dec 7 14:32:25 UTC 2006


Wouter Wijngaards wrote:
> Hi Farkas,
> 
> Farkas Levente wrote:
>> hi,
>> while all files is owned by nsd user and nsd run as nsd the nsd.db is
>> still owned by root user (because the compiler run as root and create
>> this file as root, ok i know just it'd be better if this file is owned
>> by nsd too).
> 
> As long as the nsd user is allowed to read the nsd.db it is fine.

yes, but regenerate it as root:-(

> It will read the zone transfer from disk next time. So it will force one
> zone transfer, then store it on disk. Initially it is stored in ixfr.db.
> But ixfr.db grows only. To compact your disk space you run nsdc patch.
> This writes the information into the zone files, and rebuilds the
> database with that information, cleaning out ixfr.db in the process.
> 
> Does this answer your questions?

yes thanks, besides that all generated files are owned by root and put
into the current working dir even if nsd.conf assume relative to the
conf file ie. next time nsd have to retransfer all files, what's more
nsd assume it already do the patch (nsdc: no patch necessary.) ie. no
data in ixfr.db even if wrote into wrong dir:-(

-- 
  Levente                               "Si vis pacem para bellum!"



More information about the nsd-users mailing list