Skip to content

Commit

Permalink
DEBUG: add print of GlobalVars nameservers
Browse files Browse the repository at this point in the history
  • Loading branch information
makyen committed Nov 11, 2024
1 parent 87710a0 commit b5f0702
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
# the chat or metasmoke websockets have been initiated, this is a 'safe space' to
# begin initialization of the DNS data.
if GlobalVars.dns_nameservers != 'system':
print('GlobalVars.config.dns_nameservers:', GlobalVars.config.dns_nameservers)
dns.resolver.get_default_resolver().nameservers = GlobalVars.config.dns_nameservers.split(',')

if GlobalVars.dns_cache_enabled:
Expand Down

0 comments on commit b5f0702

Please sign in to comment.