aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-08-14 16:33:23 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-08-14 16:33:23 +0100
commit533f9e950db55559a06c8e76d1f50c7f13438311 (patch)
treea4c17ce7e5486655c0b13bb6dfeaaca8cc015740 /test/functional/configs
parent1af89c35663dd364c8d46523f0d71adc64f8bde4 (diff)
downloadrspamd-533f9e950db55559a06c8e76d1f50c7f13438311.tar.gz
rspamd-533f9e950db55559a06c8e76d1f50c7f13438311.zip
[Test] Added few more fake records
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/plugins.conf30
-rw-r--r--test/functional/configs/stats.conf5
2 files changed, 35 insertions, 0 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index 2b3e48b04..eab954333 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -233,6 +233,11 @@ options = {
replies = ["$Id: example.com 4415 2015-08-24 20:12:23Z davids $", "v=spf1 -all"];
},
{
+ name = "example.com",
+ type = "a";
+ replies = ["93.184.216.34"];
+ },
+ {
name = "testdkim1._domainkey.dnssec-failed.org",
type = "txt";
rcode = 'timeout';
@@ -391,6 +396,31 @@ options = {
name = "114.47.228.46.asn.rspamd.com",
type = "txt";
replies = ["34010|46.228.40.0/21|GB|ripencc|"];
+ },
+ {
+ name = "10.0.1.10.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "10.0.1.11.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "other.org",
+ type = "txt";
+ rcode = 'norec';
+ },
+ {
+ name = "8.8.8.8.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "rspamd.tk",
+ type = "txt";
+ replies = ["bio=a263adeab8acdcdb8b89e127b67d696061fdfbee"];
}];
}
}
diff --git a/test/functional/configs/stats.conf b/test/functional/configs/stats.conf
index afa405baf..e770de2e8 100644
--- a/test/functional/configs/stats.conf
+++ b/test/functional/configs/stats.conf
@@ -5,6 +5,11 @@ options = {
dns {
retransmits = 10;
timeout = 2s;
+ fake_records = [{
+ name = "example.net";
+ type = txt;
+ replies = ["v=spf1 -all"];
+ }]
}
}
logging = {