Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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'
)
71
def
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
s
Function · 0.85
declare
Method · 0.80
Tested by
no test coverage detected