summaryrefslogtreecommitdiffstats
path: root/test/knot-data
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-07-08 18:12:47 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-01-27 15:45:00 +0100
commit3095bd2ccaf55f7c20567b990844dc2d9b451376 (patch)
treefd59124b6e5de3b75991eebca83d2e8599add7c6 /test/knot-data
parenttest: cover IPv6 in the resolved test suite (diff)
downloadsystemd-3095bd2ccaf55f7c20567b990844dc2d9b451376.tar.xz
systemd-3095bd2ccaf55f7c20567b990844dc2d9b451376.zip
test: add a couple of SRV records to check service resolution
Diffstat (limited to 'test/knot-data')
-rw-r--r--test/knot-data/zones/signed.test.zone8
-rw-r--r--test/knot-data/zones/untrusted.test.zone4
2 files changed, 12 insertions, 0 deletions
diff --git a/test/knot-data/zones/signed.test.zone b/test/knot-data/zones/signed.test.zone
index fa6706205a..6ddeb0048e 100644
--- a/test/knot-data/zones/signed.test.zone
+++ b/test/knot-data/zones/signed.test.zone
@@ -49,3 +49,11 @@ follow11.yet.so.far CNAME follow12.getting.hot.signed.test.
follow12.getting.hot CNAME follow13.almost.final.signed.test.
follow13.almost.final CNAME follow14.final.signed.test.
follow14.final A 10.0.0.14
+
+myservice A 10.0.0.20
+myservice AAAA fd00:dead:beef:cafe::17
+_mysvc._tcp SRV 10 5 1234 myservice
+
+_invalidsvc._udp SRV 5 5 1111 invalidservice
+
+_untrustedsvc._udp SRV 5 5 1111 myservice.untrusted.test.
diff --git a/test/knot-data/zones/untrusted.test.zone b/test/knot-data/zones/untrusted.test.zone
index cf0dec5296..a0dca62ca8 100644
--- a/test/knot-data/zones/untrusted.test.zone
+++ b/test/knot-data/zones/untrusted.test.zone
@@ -20,3 +20,7 @@ $ORIGIN untrusted.test.
A 10.0.0.121
AAAA fd00:dead:beef:cafe::121
mail A 10.0.0.122
+
+myservice A 10.0.0.123
+ AAAA fd00:dead:beef:cafe::123
+_mysvc._tcp SRV 10 5 1234 myservice