egberts / bind9_parser

Bind9 Parser in Python that can process all of ISC Bind configuration files
MIT License
22 stars 7 forks source link

'catalog-zone' statement introduced in v9.11 #28

Closed egberts closed 2 years ago

egberts commented 2 years ago

Somehow, I missed that one.

Example config:

catalog-zones { 
    zone "cat_zone1" 
        zone-directory "dir/cat_zone_file1" 
        in-memory no
        min-update-interval 1H; 
    zone "cat_zone2" 
        zone-directory "dir/cat_zone_file2" 
        in-memory yes
        min-update-interval 2H; 
    };

EBNF is:

        catalog-zones { zone <string> [ default-primaries [ port <integer>
            ] [ dscp <integer> ] { ( <remote-servers> | <ipv4_address> [
            port <integer> ] | <ipv6_address> [ port <integer> ] ) [ key
            <string> ] [ tls <string> ]; ... } ] [ zone-directory
            <quoted_string> ] [ in-memory <boolean> ] [ min-update-interval
            <duration> ]; ... };
egberts commented 2 years ago

Fixed.

Hey, Paul, @ptmcg, looking good for me now.... Thanks for all your help.

I'm going to be coasting toward an 0.98 release.