fixing deprecation warning

This commit is contained in:
brent s. 2021-10-29 06:33:51 -04:00
parent 67338238af
commit 6543b230d4
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 1 additions and 1 deletions

View File

@ -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] = []