2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Replace dnspython resolver.query with resolver.resolve

The resolver.query() has been deprecated in favor of resolver.resolve();
used that.

This is an omission from 3b1756d45012a66f08693c17145a8484ec68bd47
This commit is contained in:
Tom Krizek 2023-04-06 14:33:27 +02:00
parent 836e6ed284
commit dee49b7a1f
No known key found for this signature in database
GPG Key ID: 01623B9B652A20A7

View File

@ -95,7 +95,7 @@ def do_work(named_proc, resolver, rndc_cmd, kill_method, n_workers, n_queries):
)
qname = relname + ".test"
futures[executor.submit(resolver.query, qname, "A")] = tag
futures[executor.submit(resolver.resolve, qname, "A")] = tag
elif shutdown: # We attempt to stop named in the middle
shutdown = False
if kill_method == "rndc":