diff --git a/tests/pydnstest/scenario.py b/tests/pydnstest/scenario.py index 6170724e133219dd2143faa46297f545f89cf7eb..cfb04e629085d7f94e35d434a9b60bc9c4163ca0 100644 --- a/tests/pydnstest/scenario.py +++ b/tests/pydnstest/scenario.py @@ -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)