Commit 4275b93f authored by aoh's avatar aoh
Browse files

lookup: Ask our own nameserver instead

Signed-off-by: aoh's avataraoh <>
parent a5cc26fc
......@@ -46,7 +46,7 @@ class Record:
# Resolve fully qualified domain name
def lookup(fully_qualified_domain_name):
resolver = Resolver()
ips = list()
ips += [str(x) for x in resolver.query(fully_qualified_domain_name, 'A')]
Supports Markdown
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