Commit 00b96504 authored by Morten Brekkevold's avatar Morten Brekkevold

don't overwrite name (would break CNAME lookups)

parent 3ffe4204
......@@ -190,7 +190,7 @@ def lookup_dns(names):
result = defaultdict(list)
for name in names:
try:
name, aliaslist, addresslist = socket.gethostbyname_ex(name)
name2, aliaslist, addresslist = socket.gethostbyname_ex(name)
except socket.gaierror:
pass
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment