mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Adjustments for upgrade to PowerDNS v4.6
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+3
-1
@@ -9,7 +9,6 @@
|
||||
|
||||
# Local DNS address and port
|
||||
local-address=127.0.0.1:5554
|
||||
local-ipv6=
|
||||
|
||||
# Do not enforce TCP for ANY queries
|
||||
any-to-tcp=false
|
||||
@@ -19,3 +18,6 @@ launch=gsqlite3
|
||||
|
||||
# Database location
|
||||
gsqlite3-database=/var/lib/powerdns/pdns.sqlite3
|
||||
|
||||
# Used when creating a new zone
|
||||
default-soa-content=ns1.@ hostmaster.@ 0 10800 3600 604800 3600
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ fi
|
||||
# HTTPS
|
||||
if ! pdnsutil add-record ftl. https HTTPS '1 . alpn="h3,h2"'; then
|
||||
# comment above applies
|
||||
pdnsutil add-record ftl. https TYPE65 "\# 15 000100000100080322683303683222"
|
||||
pdnsutil add-record ftl. https TYPE65 "\# 13 00010000010006026833026832"
|
||||
fi
|
||||
|
||||
# Create reverse lookup zone
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
@test "Local DNS test: SOA ftl" {
|
||||
run bash -c "dig SOA ftl @127.0.0.1 +short"
|
||||
printf "%s\n" "${lines[@]}"
|
||||
[[ ${lines[0]} == "ns1.ftl. hostmaster.ftl. 1 10800 3600 604800 3600" ]]
|
||||
[[ ${lines[0]} == "ns1.ftl. hostmaster.ftl. 0 10800 3600 604800 3600" ]]
|
||||
[[ ${lines[1]} == "" ]]
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@
|
||||
@test "Local DNS test: HTTPS https.ftl" {
|
||||
run bash -c "dig +unknown TYPE65 https.ftl @127.0.0.1 +short"
|
||||
printf "%s\n" "${lines[@]}"
|
||||
[[ ${lines[0]} == '\# 15 000100000100080322683303683222' ]]
|
||||
[[ ${lines[0]} == '\# 13 00010000010006026833026832' ]]
|
||||
[[ ${lines[1]} == "" ]]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user