MCPcopy Create free account
hub / github.com/MorDavid/NetworkHound / __init__

Method __init__

core/dns_resolver.py:29–32  ·  view source on GitHub ↗
(self, dns_server=None, max_threads=10, use_tcp=False)

Source from the content-addressed store, hash-verified

27 """DNS resolver with multiple resolution methods"""
28
29 def __init__(self, dns_server=None, max_threads=10, use_tcp=False):
30 self.dns_server = dns_server
31 self.max_threads = max_threads
32 self.use_tcp = use_tcp
33
34 def test_connectivity(self, hostname):
35 """Test if computer is reachable via ping"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected