From 6543b230d4817f3ea2eb0b07bcfd4768b980d79b Mon Sep 17 00:00:00 2001 From: brent s Date: Fri, 29 Oct 2021 06:33:51 -0400 Subject: [PATCH] fixing deprecation warning --- net/dns/linode/ddns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dns/linode/ddns.py b/net/dns/linode/ddns.py index 798755a..f3737ca 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.query(record, t) + q = self.resolver.resolve(record, t) for a in q: if t not in records.keys(): records[t] = []