diff --git a/test/run.sh b/test/run.sh index 42600fcd..b2f8a89e 100755 --- a/test/run.sh +++ b/test/run.sh @@ -49,8 +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 8.8.8.8 as resolver instead of using the system resolver -echo -e "log-queries\nlog-facility=/var/log/pihole.log\nserver=8.8.8.8\nno-resolv" > /etc/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 # Set restrictive umask OLDUMASK=$(umask) diff --git a/test/test_suite.bats b/test/test_suite.bats index 93479b3d..f0dddd90 100644 --- a/test/test_suite.bats +++ b/test/test_suite.bats @@ -463,7 +463,7 @@ [[ ${lines[21]} == *"SOA soa.dns.netmeister.org 127.0.0.1 2 0 13"* ]] [[ ${lines[22]} == *"PTR 99.7.84.166.in-addr.arpa 127.0.0.1 2 0 5"* ]] [[ ${lines[23]} == *"PTR 0.0.9.3.2.7.e.f.f.f.3.6.6.7.2.e.4.8.0.0.0.3.0.0.0.7.4.0.1.0.0.2.ip6.arpa 127.0.0.1 2 0 5"* ]] - [[ ${lines[24]} == *"PTR ptr.dns.netmeister.org 127.0.0.1 2 0 0"* ]] + [[ ${lines[24]} == *"PTR ptr.dns.netmeister.org 127.0.0.1 2 0 13"* ]] [[ ${lines[25]} == *"TXT txt.dns.netmeister.org 127.0.0.1 2 0 13"* ]] [[ ${lines[26]} == *"NAPTR naptr.dns.netmeister.org 127.0.0.1 2 0 13"* ]] [[ ${lines[27]} == *"MX mx.dns.netmeister.org 127.0.0.1 2 0 13"* ]]