]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager/tests/packaging: better kdig check docs-develop-rele-x0vj7g/deployments/4631
authorOto Šťáva <oto.stava@nic.cz>
Tue, 23 Jul 2024 13:18:33 +0000 (15:18 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 23 Jul 2024 13:18:33 +0000 (15:18 +0200)
manager/tests/packaging/systemd_service.sh

index 24f48071986ff84658403382a74503acb1173b59..c6ac826b0a4d0248e850c624d3523eccc4f4c08e 100755 (executable)
@@ -29,7 +29,7 @@ else
        set +e
 
        # check that the resolvers are actually running
-       kdig @127.0.0.1 nic.cz
+       kdig @127.0.0.1 +edns nic.cz | tee /dev/stderr | grep -qi 'status: NOERROR'
        if [ "$?" -ne "0" ]; then
                echo "Could not 'kdig' the resolvers - are they running?"
                exit 1