summaryrefslogtreecommitdiff
path: root/test/dnszones-src/db.test.ex
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-08-10 22:28:48 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-08-10 23:45:11 +0100
commitcebf4027931177cc70106a84e19705f2085a09f5 (patch)
tree97a7fd71a33dc2f1ee57cb6657828cdeef52aa06 /test/dnszones-src/db.test.ex
parentd4095f83496094d7d8649cc412536f69d1cfcb6a (diff)
dnslists: hardwired return value check. Bug 2631
Diffstat (limited to 'test/dnszones-src/db.test.ex')
-rw-r--r--test/dnszones-src/db.test.ex11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex
index de710dcf3..9b6684ac7 100644
--- a/test/dnszones-src/db.test.ex
+++ b/test/dnszones-src/db.test.ex
@@ -201,6 +201,17 @@ TTL=2 14.12.11.V4NET.rbl A 127.0.0.2
2.13.13.V4NET.rbl A 127.0.0.1
A 127.0.0.2
+; Foolish return values outside 127.0/8
+
+100.13.13.V4NET.rbl A 0.0.0.0
+101.13.13.V4NET.rbl A 126.255.255.255
+102.13.13.V4NET.rbl A 128.0.0.0
+103.13.13.V4NET.rbl A 255.255.255.255
+104.13.13.V4NET.rbl A 255.255.255.255
+ A 127.0.0.0
+105.13.13.V4NET.rbl A 255.255.255.255
+ A 255.255.255.254
+
; -------- Testing MX records --------
mxcased MX 5 ten-99.TEST.EX.