libioc.Config.Jail.Properties.Resolver module¶
Jail config resolver property.
-
class
libioc.Config.Jail.Properties.Resolver.
ResolverProp
(config, property_name='resolver', logger=None)[source]¶ Bases:
collections.abc.MutableSequence
Handle the special jail property (DNS) Resolver.
-
apply
(jail, event_scope=None)[source]¶ Apply the settings to a jail.
- Return type
Generator
[JailResolverConfig
,None
,None
]
-
property
conf_file_path
¶ Unconfigurable path of the config file.
- Return type
str
-
property
method
¶ Return the selected configuration method.
- Return type
str
-
none_matches
= ['/dev/null', '-', '']¶
-
set
(value=None, notify=True, skip_on_error=False)[source]¶ Clear and set all nameservers.
- Return type
None
-
property
value
¶ Return the raw configuration string or None.
- Return type
Optional
[str
]
-