aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-10 11:17:53 +0100
committerGitHub <noreply@github.com>2018-09-10 11:17:53 +0100
commit374f1a04be5f562c66d0a27f7580966329059301 (patch)
treeaa4c6653be0b766814ced648827790e74b1da5fa /test
parent59a965af1c4266cd0f1c890a65d135f2d8ab7cc1 (diff)
parent2a29cf229e81ec07ed348aa9bf10bb1eb8c6e467 (diff)
downloadrspamd-374f1a04be5f562c66d0a27f7580966329059301.tar.gz
rspamd-374f1a04be5f562c66d0a27f7580966329059301.zip
Merge pull request #2475 from negram/dnssec-mock
[Test] One more domain to faking records
Diffstat (limited to 'test')
-rw-r--r--test/functional/configs/plugins.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index aaf27b61e..8097893ac 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -426,6 +426,41 @@ options = {
name = "fail1.org.org.za",
type = "txt";
replies = ["v=spf1 redirect=www.dnssec-failed.org"];
+ },
+ {
+ name = "www.dnssec-failed.org",
+ 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"];
}];
}
}