Skip to content

Instantly share code, notes, and snippets.

@rdbox
Created May 31, 2017 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdbox/c09e98447c61d0ebbb72f0c3c06ccc81 to your computer and use it in GitHub Desktop.
Save rdbox/c09e98447c61d0ebbb72f0c3c06ccc81 to your computer and use it in GitHub Desktop.
Установка Unbound
1)Скачать дистрибутив
2) Во время установки версии x64 поменять путь установки на C:\Program Files\Unbound\
3) Конфиг будет прикреплен ниже 2-ым файлом
# Unbound configuration file on windows.
# See example.conf for more settings and syntax
server:
# verbosity level 0-4 of logging
auto-trust-anchor-file: "C:\Program Files\Unbound\root.key"
verbosity: 0
#Основной интерфейс на котором будет запущен Unbound
interface: 0.0.0.0
outgoing-interface: 10.0.2.15
access-control: 192.168.0.0/24 allow
do-ip4: yes
do-tcp: yes
do-udp: yes
do-ip6: no
pidfile: "C:\Program Files\Unbound\logs\pidfile"
# if you want to log to a file use
logfile: "C:\Program Files\Unbound\logs\logfile.log"
# on Windows, this setting makes reports go into the Application log
# found in ControlPanels - System tasks - Logs
# do-not-query-localhost: no
use-syslog: no
# Данная настройка нужна в связки с DNSCrypt
forward-zone:
name: "."
forward-addr: 127.0.0.1
remote-control:
control-enable: yes
control-interface: 0.0.0.0
control-port: 953
server-key-file: "C:\Program Files\Unbound\cert\unbound_server.key"
server-cert-file: "C:\Program Files\Unbound\cert\unbound_server.pem"
control-key-file: "C:\Program Files\Unbound\cert\unbound_control.key"
control-cert-file: "C:\Program Files\Unbound\cert\unbound_control.pem"
s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment