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:
parent
836e6ed284
commit
dee49b7a1f
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user