fix: unbound interface naming

This commit is contained in:
Clément Désiles
2025-12-24 17:09:22 +01:00
parent 08364cf2c8
commit 3e469fa25e
3 changed files with 37 additions and 5 deletions
+5 -5
View File
@@ -8,13 +8,13 @@ server:
# listening port
port: {{ unbound_port }}
# Allow binding to interfaces that don't exist yet (e.g., WireGuard at boot)
# Allow binding to IP addresses that don't exist yet (e.g., WireGuard at boot)
ip-freebind: yes
# Define interfaces binds
interface: lo
interface: lan0
interface: wg0
# Define interface binds by IP address
interface: 127.0.0.1 # lo
interface: {{ unbound_interface_lan }} # lan0
interface: {{ unbound_interface_vpn }} # wg0
# Define access controls (note that ufw might be also configured)
access-control: 0.0.0.0/0 refuse