diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-06-08 15:38:56 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-08 15:40:32 +0200 |
commit | 6d67385fcd6d24d5e1cc8509a4b426c9973bf904 (patch) | |
tree | 25153f40b0f6ebc79874ff117f022c2cd5ce0b14 /src/resolve/test-dnssec-complex.c | |
parent | resolved: fix DNSKEY validation against DS (diff) | |
download | systemd-6d67385fcd6d24d5e1cc8509a4b426c9973bf904.tar.xz systemd-6d67385fcd6d24d5e1cc8509a4b426c9973bf904.zip |
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.c | 4 |
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"); |