diff --git a/.ci/ci-test.sh b/.ci/ci-test.sh index ca0d103a..bf963fdf 100755 --- a/.ci/ci-test.sh +++ b/.ci/ci-test.sh @@ -47,6 +47,10 @@ section ../dnscrypt-proxy/dnscrypt-proxy -loglevel 3 -config test2-dnscrypt-proxy.toml -pidfile /tmp/dnscrypt-proxy.pidfile & sleep 5 +section +t || dig -p${DNS_PORT} A microsoft.com @127.0.0.1 | grep -Fq "NOERROR" || fail +t || dig -p${DNS_PORT} A MICROSOFT.COM @127.0.0.1 | grep -Fq "NOERROR" || fail + section t || dig -p${DNS_PORT} AAAA ipv6.google.com @127.0.0.1 | grep -Fq 'locally blocked' || fail @@ -101,6 +105,8 @@ section t || grep -Fq 'a.www.dnscrypt-test' nx.log || fail section +t || grep -Eq 'microsoft.com.*PASS.*[^-]$' query.log || fail +t || grep -Eq 'microsoft.com.*PASS.*-$' query.log || fail t || grep -Eq 'ipv6.google.com.*SYNTH' query.log || fail t || grep -Eq 'invalid.*SYNTH' query.log || fail t || grep -Eq '168.192.in-addr.arpa.*SYNTH' query.log || fail