Update 'main.py'
This commit is contained in:
parent
5af2cca3c6
commit
af15b66ad1
2
main.py
2
main.py
@ -89,7 +89,7 @@ def DoTquery(domain, query_type):
|
|||||||
print(bcolors.FAIL+"Intercepted query!"+bcolors.RESET)
|
print(bcolors.FAIL+"Intercepted query!"+bcolors.RESET)
|
||||||
return ["172.104.88.237"]
|
return ["172.104.88.237"]
|
||||||
q = dns.message.make_query(str(domain), str(query_type))
|
q = dns.message.make_query(str(domain), str(query_type))
|
||||||
response = dns.query.tls(q, "74.80.18.217", server_hostname="calebfontenot.com", port=853)
|
response = dns.query.tls(q, "76.72.69.144", server_hostname="resolve.calebfontenot.com", port=853)
|
||||||
print(response)
|
print(response)
|
||||||
# There's probably a better way of doing this, but I can't figure it out...
|
# There's probably a better way of doing this, but I can't figure it out...
|
||||||
if str(query_type) == "A":
|
if str(query_type) == "A":
|
||||||
|
Loading…
Reference in New Issue
Block a user