mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
49e4258102
by allowing Cookies to bypass the ratelimit, but still allowing ratelimit to valid DNS Cookie clients via the new ip-ratelimit-cookie option.
29 lines
635 B
Plaintext
29 lines
635 B
Plaintext
server:
|
|
verbosity: 5
|
|
# num-threads: 1
|
|
interface: 127.0.0.1
|
|
port: @PORT@
|
|
use-syslog: no
|
|
directory: .
|
|
pidfile: "unbound.pid"
|
|
chroot: ""
|
|
username: ""
|
|
local-data: "test. IN TXT localdata"
|
|
|
|
ip-ratelimit: 1
|
|
ip-ratelimit-cookie: 0
|
|
ip-ratelimit-factor: 0
|
|
ip-ratelimit-backoff: yes
|
|
answer-cookie: yes
|
|
access-control: 127.0.0.0/8 allow_cookie
|
|
|
|
remote-control:
|
|
control-enable: yes
|
|
control-interface: 127.0.0.1
|
|
# control-interface: ::1
|
|
control-port: @CONTROL_PORT@
|
|
server-key-file: "unbound_server.key"
|
|
server-cert-file: "unbound_server.pem"
|
|
control-key-file: "unbound_control.key"
|
|
control-cert-file: "unbound_control.pem"
|