mentat.services.dnsr module¶
Implementation of internal DNS service library.
-
class
mentat.services.dnsr.
DnsService
(timeout=1, lifetime=3)[source]¶ Bases:
object
Implementation of internal DNS database service.
-
class
mentat.services.dnsr.
DnsServiceManager
(core_config, updates=None)[source]¶ Bases:
object
Class representing a custom DnsServiceManager capable of understanding and parsing Mentat system core configurations and enabling easy way of unified bootstrapping of
mentat.services.dns.DnsService
service.
-
mentat.services.dnsr.
init
(core_config, updates=None)[source]¶ (Re-)Initialize
DnsServiceManager
instance at module level and store the refence within module.
-
mentat.services.dnsr.
manager
()[source]¶ Obtain reference to
DnsServiceManager
instance stored at module level.
-
mentat.services.dnsr.
service
()[source]¶ Obtain reference to
DnsService
instance from module level manager.