versions: syntax error
Johannes Markström
jomar at ikp.liu.se
Wed Jun 30 11:20:44 UTC 1999
Remove the file-semicolon. Like this:
file "/var/adm/bind.denied" versions 3 size 60M;
Works for me.
Regards.
On Wed, 30 Jun 1999, torben fjerdingstad wrote:
> I can't figure out what's wrong with my named.conf:
>
> The error message is:
> Jun 30 12:26:56 ns named[12904]: /usr/local/namedb.test/named.conf:227: syntax error near versions
>
>
> logging {
> channel securitylog {
> file "/var/adm/bind.denied";
> /* keep 3 files of 60Mbytes */
> versions 3 size 60M;
> severity info;
> print-time yes;
> };
> category security {
> securitylog;
> };
> };
>
> I also tried to put versions and size on two different lines,
> because the samples on the ISC documentation pages might be
> wrong formatted.
>
> versions 3;
> size 60M;
>
> That gave the exact same error as above. Yes, it IS line 227.
>
> --
> Med venlig hilsen / Regards
> Netdriftgruppen / Network Management Group
> UNI-C
>
> Tlf./Phone +45 35 87 89 41 Mail: UNI-C
> Fax. +45 35 87 89 90 Bygning 304
> E-mail: torben.fjerdingstad at uni-c.dk DK-2800 Lyngby
>
>
>
Johannes Markstrom
UNIX SysAdmin
Linkopings Universitet, IKP
jomar at ikp.liu.se
More information about the bind-users
mailing list