1.1.1.1 rejects ANY queries...

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2021-08-29 19:36:03 +02:00
parent 2a25bb0021
commit bfc880d770
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -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" {