Using Unbound as a local caching DNS

Created on 2020-12-28T04:12:24-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

/etc/unbound/unbound.conf

server:
  use-syslog: yes

hide-identity: yes
hide-version: yes

access-control: 127.0.0.1 allow

interface: 0.0.0.0
do-ip4: yes
do-udp: yes
do-tcp: yes

# TODO these are google but should be something else
forward-zone:
    name: "."
        forward-addr: 8.8.8.8
        forward-addr: 8.8.4.4

Although this just relays to Google's DNS. Do with that what you will.