File: tcp_reuse.conf2

package info (click to toggle)
unbound 1.13.1-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,604 kB
  • sloc: ansic: 110,494; sh: 6,028; yacc: 3,391; python: 1,945; makefile: 1,689; awk: 161; perl: 158; xml: 36
file content (39 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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
	tcp-idle-timeout: 10000

	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"
	local-data: "www5.example.com  A 10.20.30.45"
	local-data: "www6.example.com  A 10.20.30.46"
	local-data: "www7.example.com  A 10.20.30.47"

	local-zone: "drop.net" deny
	local-zone: "refuse.net" refuse

	local-zone: "more.net" redirect
	local-data: "more.net A 10.20.30.40"

# if queries escape, send them to localhost
forward-zone:
	name: "."
	forward-addr: "127.0.0.1@@TOPORT@"