From 4fa98eb8059b16961b3430aedfded6c7bd1bf4a3 Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 21 Nov 2020 13:34:37 -0500 Subject: [PATCH] fix for change of func name: dns.resolver.resolve > dns.resolve.query --- net/dns/linode/ddns.py | 2 +- sys/find_dupes.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 sys/find_dupes.py diff --git a/net/dns/linode/ddns.py b/net/dns/linode/ddns.py index f3737ca..798755a 100755 --- a/net/dns/linode/ddns.py +++ b/net/dns/linode/ddns.py @@ -117,7 +117,7 @@ class Updater(object): for t in ('A', 'AAAA'): logger.debug('Resolving {0} ({1})'.format(record, t)) try: - q = self.resolver.resolve(record, t) + q = self.resolver.query(record, t) for a in q: if t not in records.keys(): records[t] = [] diff --git a/sys/find_dupes.py b/sys/find_dupes.py new file mode 100644 index 0000000..e69de29