From 2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467 Mon Sep 17 00:00:00 2001 From: Mikhail Galanin Date: Mon, 10 Sep 2018 11:00:41 +0100 Subject: [PATCH] [Test] More fake recors to fix "SPF DNSFAIL FAILED A" and "SPF DNSFAIL FAILED MX" cases --- test/functional/configs/plugins.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf index 7109cfa80..8097893ac 100644 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@ -432,10 +432,35 @@ options = { type = "txt"; rcode = 'timeout'; }, + { + name = "www.dnssec-failed.org", + type = "mx"; + rcode = 'timeout'; + }, + { + name = "www.dnssec-failed.org", + type = "a"; + rcode = 'timeout'; + }, + { + name = "www.dnssec-failed.org", + type = "aaaa"; + rcode = 'norec'; + }, { name = "cacophony.za.org", type = "txt"; replies = ["v=spf1 redirect=asdfsfewewrredfs"]; + }, + { + name = "fail9.org.org.za", + type = "txt"; + replies = ["v=spf1 ip4:8.8.8.8 mx:www.dnssec-failed.org -all"]; + }, + { + name = "fail8.org.org.za", + type = "txt"; + replies = ["v=spf1 ip4:8.8.8.8 a:www.dnssec-failed.org -all"]; }]; } } -- 2.39.5