Add some static local hosts in unbound

This commit is contained in:
Vladimir Vitkov 2019-10-24 00:38:53 +03:00
parent d41084ea68
commit fb9a3ce338
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,30 @@
server:
local-data: "vin 30 in a 10.20.0.1"
local-data-ptr: "10.20.0.1 30 vin"
local-data: "coresw 30 in a 10.20.0.11"
local-data-ptr: "10.20.0.11 30 coresw"
local-data: "f0sw 30 in a 10.20.0.27"
local-data-ptr: "10.20.0.27 30 f0sw"
local-data: "nocsw 30 in a 10.20.0.28"
local-data-ptr: "10.20.0.28 30 nocsw"
local-data: "receptionsw 30 in a 10.20.0.25"
local-data-ptr: "10.20.0.25 30 receptionsw"
local-data: "teamsw 30 in a 10.20.0.26"
local-data-ptr: "10.20.0.26 30 teamsw"
local-data: "vocsw-a 30 in a 10.20.0.21"
local-data-ptr: "10.20.0.21 30 vocsw-a"
local-data: "vocsw-b 30 in a 10.20.0.22"
local-data-ptr: "10.20.0.22 30 vocsw-b"
local-data: "vocsw-c 30 in a 10.20.0.23"
local-data-ptr: "10.20.0.23 30 vocsw-c"
local-data: "vocsw-d 30 in a 10.20.0.24"
local-data-ptr: "10.20.0.24 30 vocsw-d"

View File

@ -0,0 +1,9 @@
server:
# Send minimum amount of information to upstream servers to enhance
# privacy. Only sends minimum required labels of the QNAME and sets
# QTYPE to NS when possible.
# See RFC 7816 "DNS Query Name Minimisation to Improve Privacy" for
# details.
qname-minimisation: yes

View File

@ -0,0 +1,4 @@
server:
# The following line will configure unbound to perform cryptographic
# DNSSEC validation using the root trust anchor.
auto-trust-anchor-file: "/var/lib/unbound/root.key"