Add access-control-view directive so that queries on localhost use the lan view.

This commit is contained in:
2026-06-06 11:19:35 -04:00
parent b238d53825
commit c7524136c5
@@ -15,7 +15,13 @@
prefetch: yes
serve-expired: yes
# the interface that is used to connect to the network (this will listen to all interfaces)
interface: 0.0.0.0
# interface: 0.0.0.0
interface: 192.168.88.92
interface: 192.168.88.8
interface: 127.0.0.1
interface: 100.90.20.83
so-reuseport: yes
ip-freebind: yes
# interface: ::0
private-address: 192.168.0.0/16
private-address: 100.64.0.0/10
@@ -31,6 +37,7 @@
access-control-view: 192.168.88.0/24 lan
access-control-view: 100.64.0.0/10 tailnet
access-control-view: 127.0.0.0/8 lan
do-ip4: yes
do-ip6: no
@@ -58,6 +65,7 @@ view:
local-data: "jellyfin.objectbrokers.com. A 192.168.88.231"
local-data: "vaultwarden.objectbrokers.com. A 192.168.88.231"
local-data: "lambdesktop.objectbrokers.com. A 192.168.88.187"
local-data: "beszel.objectbrokers.com. A 192.168.88.231"
view:
name: "tailnet"
@@ -72,6 +80,7 @@ view:
local-data: "jellyfin.objectbrokers.com. A 100.81.165.11"
local-data: "vaultwarden.objectbrokers.com. A 100.81.165.11"
local-data: "lambdesktop.objectbrokers.com. A 100.95.22.24"
local-data: "beszel.objectbrokers.com. A 100.81.165.11"
remote-control:
control-enable: yes