mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 16:20:26 -05:00
30 lines
722 B
Text
30 lines
722 B
Text
|
|
# this is the upstream server that has pipelining and responds to queries.
|
||
|
|
server:
|
||
|
|
verbosity: 1
|
||
|
|
# num-threads: 1
|
||
|
|
interface: 127.0.0.1
|
||
|
|
port: @PORT@
|
||
|
|
use-syslog: no
|
||
|
|
directory: .
|
||
|
|
pidfile: "unbound2.pid"
|
||
|
|
chroot: ""
|
||
|
|
username: ""
|
||
|
|
do-not-query-localhost: no
|
||
|
|
|
||
|
|
log-queries: yes
|
||
|
|
log-replies: yes
|
||
|
|
log-identity: "upstream"
|
||
|
|
|
||
|
|
local-zone: "." refuse
|
||
|
|
local-zone: "example.com" static
|
||
|
|
local-data: "www.example.com A 10.20.30.40"
|
||
|
|
local-data: "www1.example.com A 10.20.30.41"
|
||
|
|
local-data: "www2.example.com A 10.20.30.42"
|
||
|
|
local-data: "www3.example.com A 10.20.30.43"
|
||
|
|
local-data: "www4.example.com A 10.20.30.44"
|
||
|
|
|
||
|
|
# if queries escape, send them to localhost
|
||
|
|
forward-zone:
|
||
|
|
name: "."
|
||
|
|
forward-addr: "127.0.0.1@@TOPORT@"
|