mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Tests: Use 1.1.1.1 as upstream as 8.8.8.8 SERVFAILs the HTTPS and SVCB tests domains
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+3
-2
@@ -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)
|
||||
|
||||
@@ -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"* ]]
|
||||
|
||||
Reference in New Issue
Block a user