Skip to content

Instantly share code, notes, and snippets.

@sc250024
Created April 6, 2016 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sc250024/5874948dceac674df53579c2a13d051d to your computer and use it in GitHub Desktop.
Save sc250024/5874948dceac674df53579c2a13d051d to your computer and use it in GitHub Desktop.
Unbound.conf file in office
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
server:
interface: 0.0.0.0
access-control: 127.0.0.0/8 allow
access-control: 172.20.22.0/24 allow
access-control: 172.20.16.0/24 allow
access-control: 172.20.17.0/24 allow
access-control: 0.0.0.0/0 deny
statistics-cumulative: yes
extended-statistics: yes
verbosity: 1
port: 53
do-ip4: yes
do-ip6: yes
do-udp: yes
do-tcp: yes
hide-identity: yes
hide-version: yes
cache-min-ttl: 60
cache-max-ttl: 86400
prefetch: yes
do-not-query-localhost: no
rrset-roundrobin: yes
root-hints: "/etc/unbound/root.hints"
local-zone: "10.in-addr.arpa." transparent
domain-insecure: "10.in-addr.arpa."
local-zone: "localcompany.com." redirect
local-data: "localcompany.com A 127.0.0.1"
forward-zone:
name: "infra.company.com."
forward-addr: 10.0.32.6
forward-addr: 10.0.33.6
forward-zone:
name: "ec2.company.com."
forward-addr: 10.0.32.6
forward-addr: 10.0.33.6
forward-zone:
name: "10.in-addr.arpa."
forward-addr: 10.0.32.6
forward-addr: 10.0.33.6
forward-zone:
name: "."
forward-addr: 8.8.8.8
forward-addr: 8.8.4.4
forward-addr: 208.67.222.222
forward-addr: 208.67.220.220
include: "/etc/unbound/unbound.conf.d/*.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment