Unbound DNS cache na Debian-e
Inštalácia DNS cache - Unbound, na Debian
Ako nainštalovať DNS-cache server na Debian, konkrétne Unbound.
Inštalácia
apt-get install bind9-utils dnsutils net-tools apt-get install unbound
Konfigurácia
server:
# the working directory.
directory: "/etc/unbound"
# run as the unbound user
username: unbound
verbosity: 2 # uncomment and increase to get more logging.
# listen on all interfaces, answer queries from the local subnet.
interface: 0.0.0.0
# comment out the following line if your system doesn't have IPv6.
interface: ::0
# perform prefetching of almost expired DNS cache entries.
prefetch: yes
access-control: 192.168.0.0/24 allow
access-control: 127.0.0.1/24 allow
access-control: 2001:DB8::/64 allow
# hide server info from clients
hide-identity: yes
hide-version: yes
# log-queries: no
logfile: /dev/null
interface-automatic: yes
remote-control:
# Enable remote control with unbound-control(8) here.
control-enable: no
# what interfaces are listened to for remote control.
# give 0.0.0.0 and ::0 to listen to all interfaces.
# set to an absolute path to use a unix local name pipe, certificates
# are not used for that, so key and cert files need not be present.
control-interface: 127.0.0.1
# control-interface: ::1
# port number for remote control operations.
control-port: 8953
Príspevok pridaný dňa: 21.04.2022 od užívatela: Dodoslav.