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