Method
__init__
(
self,
address: str,
port: int = 853,
hostname: str | None = None,
verify: bool | str = True,
)
Source from the content-addressed store, hash-verified
| 245 | |
| 246 | class 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
Tested by
no test coverage detected