Hi,
just to let you know we've identified the issue and it's fixed in the
git master.
We're going to release a patch version (including this patch],
probably at the end of the week.
As for the path issue. 'storage' is the base path for everything
(except DNSSEC keys and run-related data like PID files).
But I get that what you basically need is a 'storage' as a base path
for server-created data and 'zonesdir' for zone files,
we'll consider that.
Best,
Marek
On 22 January 2014 11:56, Petr Šťastný <petr(a)stastny.eu> wrote:
Hi,
I don't use IXFR, DDNS or DNSSEC signing anywhere.
knot.conf contains this:
system {
identity off;
version off;
user knot.knot;
rate-limit 20;
}
interfaces {
...
}
control {
...
}
log {
...
}
zones {
storage "/data/dns/data";
}
include "/data/dns/data/config/zones.conf"
And included file contains:
zones {
000.cz {
file "zones/0/0/0/000.cz";
}
}
But 000.cz.diff.db file is created everytime I do "knotc reload" or restart.
I know I can place master zone files anywhere using absolute path, I will do
that. But it would be nice to have some base path for master zone files so I
don't need to specify absolute path everywhere. Or base path for everything
(as "options -> directory" in BIND).
Thanks
Petr
Dne 21.1.2014 13:31, Marek Vavruša napsal(a):
Hi,
Do you by any chance use ixfr-from-differences or automatic DNSSEC
signing?
Unless you use IXFR, DDNS or anything mentioned above, they certainly
shouldn't be required. If it is, it's a bug.
I'm a little reluctant to add an another config option, but I have
added it to the config file ideas page at our wiki:
https://gitlab.labs.nic.cz/labs/knot/wikis/config-changes
That being said, 'storage' directory is for temporary or
server-created data (journals or slave zones).
You're free to place master zone files wherever you like (like
subdirectory of the storage or anywhere on the disk and use full path
to specify zone file location). That would (maybe) fix the
aforementioned issue?
Kind Regards,
Marek
On 21 January 2014 13:19, Petr Šťastný <petr(a)stastny.eu> wrote:
>
> Hello,
>
> I want to use Knot for master zones only without any DNS updates, so
> journal
> files are not needed. But they are created for every zone and it seems
> impossible to disable them.
>
> But this is bad in my situation when I want to serve 200000+ zones,
> because
> it creates 200000+ journal files in one directory (but they are never
> used).
>
> Should be possible to disable journal files or create them only in case
> of
> need or at lease divide them into more subdirectories?
>
> It would be also nice to be able to choose another directory for journal
> files in configuration. "storage" option is for both (zone files and
> journal
> files). Or explicitly state journal file path and filename in "zone"
> section.
>
> Thanks
>
> Petr Šťastný
> _______________________________________________
> knot-dns-users mailing list
> knot-dns-users(a)lists.nic.cz
>
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users