Skip to content

Commit 6a8a900

Browse files
committed
Return NXDOMAIN for dnsmasq and Unbound formats
1 parent 635c536 commit 6a8a900

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

resources/alt-formats/dnsmasq.conf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ main() {
1818
export HBLOCK_ALLOWLIST=''
1919
export HBLOCK_DENYLIST='hblock-check.molinero.dev'
2020

21-
export HBLOCK_REDIRECTION='0.0.0.0'
21+
export HBLOCK_REDIRECTION=''
2222
export HBLOCK_WRAP='1'
23-
export HBLOCK_TEMPLATE='address=/%D/%R'
23+
export HBLOCK_TEMPLATE='address=/%D/'
2424
export HBLOCK_COMMENT='#'
2525

2626
export HBLOCK_LENIENT='false'

resources/alt-formats/unbound.conf.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ main() {
1818
export HBLOCK_ALLOWLIST=''
1919
export HBLOCK_DENYLIST='hblock-check.molinero.dev'
2020

21-
export HBLOCK_REDIRECTION='0.0.0.0'
21+
export HBLOCK_REDIRECTION=''
2222
export HBLOCK_WRAP='1'
23-
export HBLOCK_TEMPLATE='local-zone: "%D" redirect\nlocal-data: "%D A %R"'
23+
export HBLOCK_TEMPLATE='local-zone: "%D" always_nxdomain'
2424
export HBLOCK_COMMENT='#'
2525

2626
export HBLOCK_LENIENT='false'

0 commit comments

Comments
 (0)