MCPcopy Create free account
hub / github.com/rthalley/dnspython / __init__

Method __init__

dns/nameserver.py:247–256  ·  view source on GitHub ↗
(
        self,
        address: str,
        port: int = 853,
        hostname: str | None = None,
        verify: bool | str = True,
    )

Source from the content-addressed store, hash-verified

245
246class DoTNameserver(AddressAndPortNameserver):
247 def __init__(
248 self,
249 address: str,
250 port: int = 853,
251 hostname: str | None = None,
252 verify: bool | str = True,
253 ):
254 super().__init__(address, port)
255 self.hostname = hostname
256 self.verify = verify
257
258 def kind(self):
259 return "DoT"

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected