mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
+3
-3
@@ -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)
|
||||
|
||||
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user