Skip to content

Instantly share code, notes, and snippets.

@itacirgabral
Created May 9, 2025 01:33
Show Gist options
  • Save itacirgabral/64af45b9409d3f62c8019a45acedc7bb to your computer and use it in GitHub Desktop.
Save itacirgabral/64af45b9409d3f62c8019a45acedc7bb to your computer and use it in GitHub Desktop.
server:
verbosity: 2
interface: 192.168.15.11
access-control: 127.0.0.0/8 allow
access-control: 192.168.15.0/24 allow
do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
prefetch: yes
qname-minimisation: yes
hide-identity: yes
hide-version: yes
harden-glue: yes
harden-dnssec-stripped: yes
root-hints: "/var/lib/unbound/root.hints"
### LAN CONFIG ###
local-zone: "vivo.lan." static
local-data: "vivo.lan. IN A 192.168.15.1"
local-zone: "gmk.lan." static
local-data: "gmk.lan. IN A 192.168.15.11"
#
local-zone: "gmk." redirect
local-data: "gmk. IN A 192.168.15.11"
### LAN CONFIG ###
# sudo unbound-checkconf
# sudo unbound-control reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment