summaryrefslogtreecommitdiff
path: root/src/resolve/test-dnssec-complex.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-06-08 15:38:56 +0200
committerLennart Poettering <lennart@poettering.net>2018-06-08 15:40:32 +0200
commit6d67385fcd6d24d5e1cc8509a4b426c9973bf904 (patch)
tree25153f40b0f6ebc79874ff117f022c2cd5ce0b14 /src/resolve/test-dnssec-complex.c
parentc910c520cf87519de9db6c481feecfac30ee7558 (diff)
downloadsystemd-6d67385fcd6d24d5e1cc8509a4b426c9973bf904.tar.gz
test: add www.dnssec-bogus.sg to list of domains to test in DNSSEC complex test
Diffstat (limited to 'src/resolve/test-dnssec-complex.c')
-rw-r--r--src/resolve/test-dnssec-complex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/test-dnssec-complex.c b/src/resolve/test-dnssec-complex.c
index 072738fb74..efacce6cc8 100644
--- a/src/resolve/test-dnssec-complex.c
+++ b/src/resolve/test-dnssec-complex.c
@@ -146,6 +146,10 @@ int main(int argc, char* argv[]) {
test_rr_lookup(bus, ".wilda.rhybar.ecdsa.0skar.cz", DNS_TYPE_A, BUS_ERROR_DNSSEC_FAILED);
test_hostname_lookup(bus, ".wilda.rhybar.ecdsa.0skar.cz", AF_INET, BUS_ERROR_DNSSEC_FAILED);
+ /* Missing DS for DNSKEY */
+ test_rr_lookup(bus, "www.dnssec-bogus.sg", DNS_TYPE_A, BUS_ERROR_DNSSEC_FAILED);
+ test_hostname_lookup(bus, "www.dnssec-bogus.sg", AF_INET, BUS_ERROR_DNSSEC_FAILED);
+
/* NXDOMAIN in NSEC domain */
test_rr_lookup(bus, "hhh.nasa.gov", DNS_TYPE_A, _BUS_ERROR_DNS "NXDOMAIN");
test_hostname_lookup(bus, "hhh.nasa.gov", AF_UNSPEC, _BUS_ERROR_DNS "NXDOMAIN");