summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <r00t@square-r00t.net>2020-11-21 13:34:37 -0500
committerbrent s <r00t@square-r00t.net>2020-11-21 13:34:37 -0500
commit4fa98eb8059b16961b3430aedfded6c7bd1bf4a3 (patch)
treef765b438d2b0c3bcfca8f7f46e98b454f798b71d
parent916ea1dc2c0093b0f52eb070a2aa39908ddca340 (diff)
downloadOpTools-master.tar.xz
fix for change of func name:HEADmaster
dns.resolver.resolve > dns.resolve.query
-rwxr-xr-xnet/dns/linode/ddns.py2
-rw-r--r--sys/find_dupes.py0
2 files changed, 1 insertions, 1 deletions
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
--- /dev/null
+++ b/sys/find_dupes.py