MCPcopy Index your code
hub / github.com/ddserver/ddserver / config_dns

Function config_dns

ddserver/recursor/__main__.py:71–75  ·  view source on GitHub ↗
(config_decl)

Source from the content-addressed store, hash-verified

69
70@extend('ddserver.config:ConfigDeclaration')
71def config_dns(config_decl):
72 with config_decl.declare('dns') as s:
73 s('ttl',
74 conv=int,
75 default=60)
76
77
78@require(logger='ddserver.utils.logger:Logger')

Callers

nothing calls this directly

Calls 2

sFunction · 0.85
declareMethod · 0.80

Tested by

no test coverage detected