NamedConf parser - file /etc/named.conf
¶
NamedConf parser the file named configuration file. Named is a name server used by BIND.
- class insights.parsers.named_conf.NamedConf(context)[source]¶
Bases:
insights.parsers.named_checkconf.NamedCheckconf
Class for parsing the file
/etc/named.conf`
, We use classNamedCheckConf
to parse most of the named.conf configurations and classNamedConf
to parse the include directives.Note
Please refer to the super-class
insights.parsers.named_checkconf:NamedCheckConf
for more usage information.- includes¶
List of files in ‘include’ section.
- Type
list
- Raises
SkipException -- When content is empty or cannot be parsed.
Examples
>>> named_conf.includes ['/etc/crypto-policies/back-ends/bind.config']