Named.conf logical blocks
Chris Buxton
chris.p.buxton at gmail.com
Wed Jun 29 13:37:00 UTC 2011
On Jun 29, 2011, at 12:21 AM, Phil Mayers wrote:
> Or use Config::Parser, or adapt the script I sent round (which in fact was the reason I wrote it); tokenisation of the bind config file is easy, and the core grammar is straightforward because everything is ;-terminated, with the form:
>
> item = thing+ block semicolon
> thing = word | quoted-string
> block = { item+ }
Not entirely. There is at least one construct that looks like this (using your terms):
thing+ block thing block semicolon
For example, within the controls statement:
inet * allow { trusted; } keys { some.key; };
Regards,
Chris Buxton
BlueCat Networks
More information about the bind-users
mailing list