From bfc880d7706b03fea5123e1f2f4acbb59c15e4db Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 29 Aug 2021 19:36:03 +0200 Subject: [PATCH] 1.1.1.1 rejects ANY queries... Signed-off-by: DL6ER --- test/run.sh | 6 +++--- test/test_suite.bats | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run.sh b/test/run.sh index b2f8a89e..c4946a09 100755 --- a/test/run.sh +++ b/test/run.sh @@ -49,9 +49,9 @@ echo "BLOCKING_ENABLED=true" > /etc/pihole/setupVars.conf echo -e "DEBUG_ALL=true\nRESOLVE_IPV4=no\nRESOLVE_IPV6=no" > /etc/pihole/pihole-FTL.conf # Prepare dnsmasq.conf -# We hard-code 1.1.1.1 as resolver (8.8.8.8 doesn't resolve HTTPS/SVCB) instead -# of using the system resolver -echo -e "log-queries\nlog-facility=/var/log/pihole.log\nserver=1.1.1.1\nno-resolv" > /etc/dnsmasq.conf +# We hard-code OpenDNS as resolver (8.8.8.8 doesn't resolve HTTPS/SVCB, +# 1.1.1.1 doesn't implement ANY, 9.9.9.9 doesn't implement RRSIG) +echo -e "log-queries\nlog-facility=/var/log/pihole.log\nserver=84.200.69.80\nno-resolv" > /etc/dnsmasq.conf # Set restrictive umask OLDUMASK=$(umask) diff --git a/test/test_suite.bats b/test/test_suite.bats index f0dddd90..780d33f6 100644 --- a/test/test_suite.bats +++ b/test/test_suite.bats @@ -269,7 +269,7 @@ # Count number of non-empty lines in the test results file run bash -c "grep -vc ^$ dig.log" printf "%s\n" "${lines[@]}" - [[ ${lines[0]} == "23" ]] + [[ ${lines[0]} == "41" ]] } @test "Statistics as expected" {