Skip to content
Snippets Groups Projects
Commit a05cf85f authored by Marek Vavruša's avatar Marek Vavruša
Browse files

tests: use edns=1 for queries

parent d0cebd5f
Branches
Tags
No related merge requests found
......@@ -244,6 +244,7 @@ class Step:
if len(self.data) == 0:
raise Exception("query definition required")
msg = self.data[0].message
msg.use_edns(edns = 1)
self.answer = ctx.resolve(msg.to_wire())
if self.answer is not None:
self.answer = dns.message.from_wire(self.answer)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment