Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##########################
- # Unbound Configuration
- ##########################
- ##
- # Server configuration
- ##
- server:
- chroot: /var/unbound
- username: unbound
- directory: /var/unbound
- pidfile: /var/run/unbound.pid
- root-hints: /var/unbound/root.hints
- use-syslog: yes
- port: 5555
- include: /var/unbound/advanced.conf
- harden-referral-path: no
- do-ip4: yes
- do-ip6: yes
- do-udp: yes
- do-tcp: yes
- do-daemonize: yes
- so-reuseport: yes
- module-config: "python dns64 validator iterator"
- num-threads: 4
- msg-cache-slabs: 8
- rrset-cache-slabs: 8
- infra-cache-slabs: 8
- key-cache-slabs: 8
- auto-trust-anchor-file: /var/unbound/root.key
- # Interface IP(s) to bind to
- interface: 127.0.0.1
- interface: ::1
- interface: fe80::1%lo0
- interface: 192.168.1.10
- interface: fe80::a236:9fff:fe09:763a%igb0
- interface: 192.168.2.1
- interface: fe80::d65d:64ff:fe03:71fd%re0
- interface: 172.16.3.77
- interface: fe80::a236:9fff:fe09:763b%igb1
- # Private networks for DNS Rebinding prevention (when enabled)
- private-address: 0.0.0.0/8
- private-address: 192.168.0.0/16
- private-address: 198.18.0.0/15
- private-address: ::1/128
- private-address: 2001:db8::/32
- private-address: fc00::/8
- private-address: fd00::/8
- private-address: fe80::/10
- # Private domains (DNS Rebinding)
- include: /var/unbound/private_domains.conf
- root@OPNsense:~ # cat /var/unbound/unbound.conf
- ##########################
- # Unbound Configuration
- ##########################
- ##
- # Server configuration
- ##
- server:
- chroot: /var/unbound
- username: unbound
- directory: /var/unbound
- pidfile: /var/run/unbound.pid
- root-hints: /var/unbound/root.hints
- use-syslog: yes
- port: 5555
- include: /var/unbound/advanced.conf
- harden-referral-path: no
- do-ip4: yes
- do-ip6: yes
- do-udp: yes
- do-tcp: yes
- do-daemonize: yes
- so-reuseport: yes
- module-config: "python dns64 validator iterator"
- num-threads: 4
- msg-cache-slabs: 8
- rrset-cache-slabs: 8
- infra-cache-slabs: 8
- key-cache-slabs: 8
- auto-trust-anchor-file: /var/unbound/root.key
- # Interface IP(s) to bind to
- interface: 127.0.0.1
- interface: ::1
- interface: fe80::1%lo0
- interface: 192.168.1.10
- interface: fe80::a236:9fff:fe09:763a%igb0
- interface: 192.168.2.1
- interface: fe80::d65d:64ff:fe03:71fd%re0
- interface: 172.16.3.77
- interface: fe80::a236:9fff:fe09:763b%igb1
- # Private networks for DNS Rebinding prevention (when enabled)
- private-address: 0.0.0.0/8
- private-address: 192.168.0.0/16
- private-address: 198.18.0.0/15
- private-address: ::1/128
- private-address: 2001:db8::/32
- private-address: fc00::/8
- private-address: fd00::/8
- private-address: fe80::/10
- # Private domains (DNS Rebinding)
- include: /var/unbound/private_domains.conf
- # Static host entries
- include: /var/unbound/host_entries.conf
- # DHCP leases (if configured)
- include: /var/unbound/dhcpleases.conf
- # Custom includes
- include: /var/unbound/etc/*.conf
- python:
- python-script: dnsbl_module.py
- remote-control:
- control-enable: yes
- control-interface: 127.0.0.1
- control-port: 953
- server-key-file: /var/unbound/unbound_server.key
- server-cert-file: /var/unbound/unbound_server.pem
- control-key-file: /var/unbound/unbound_control.key
- control-cert-file: /var/unbound/unbound_control.pem
- root@OPNsense:~ # cat /var/unbound/unbound.conf
- ##########################
- # Unbound Configuration
- ##########################
- ##
- # Server configuration
- ##
- server:
- chroot: /var/unbound
- username: unbound
- directory: /var/unbound
- pidfile: /var/run/unbound.pid
- root-hints: /var/unbound/root.hints
- use-syslog: yes
- port: 5555
- include: /var/unbound/advanced.conf
- harden-referral-path: no
- do-ip4: yes
- do-ip6: yes
- do-udp: yes
- do-tcp: yes
- do-daemonize: yes
- so-reuseport: yes
- module-config: "python dns64 validator iterator"
- num-threads: 4
- msg-cache-slabs: 8
- rrset-cache-slabs: 8
- infra-cache-slabs: 8
- key-cache-slabs: 8
- auto-trust-anchor-file: /var/unbound/root.key
- # Interface IP(s) to bind to
- interface: 127.0.0.1
- interface: ::1
- interface: fe80::1%lo0
- interface: 192.168.1.10
- interface: fe80::a236:9fff:fe09:763a%igb0
- interface: 192.168.2.1
- interface: fe80::d65d:64ff:fe03:71fd%re0
- interface: 172.16.3.77
- interface: fe80::a236:9fff:fe09:763b%igb1
- # Private networks for DNS Rebinding prevention (when enabled)
- private-address: 0.0.0.0/8
- private-address: 192.168.0.0/16
- private-address: 198.18.0.0/15
- private-address: ::1/128
- private-address: 2001:db8::/32
- private-address: fc00::/8
- private-address: fd00::/8
- private-address: fe80::/10
- # Private domains (DNS Rebinding)
- include: /var/unbound/private_domains.conf
- # Static host entries
- include: /var/unbound/host_entries.conf
- # DHCP leases (if configured)
- include: /var/unbound/dhcpleases.conf
- # Custom includes
- include: /var/unbound/etc/*.conf
- python:
- python-script: dnsbl_module.py
- remote-control:
- control-enable: yes
- control-interface: 127.0.0.1
- control-port: 953
- server-key-file: /var/unbound/unbound_server.key
- server-cert-file: /var/unbound/unbound_server.pem
- control-key-file: /var/unbound/unbound_control.key
- control-cert-file: /var/unbound/unbound_control.pem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement