參考網站
- ## DrKK's Simple recursive caching DNS pool
- ##
- ## Conservative system resource usage for ZFS/FreeNAS environment.
- ## ***NOT*** appropriate for a heavily loaded environment!
- ##
- ## This uses settings that are pretty minimal---i.e., I expect
- ## this keeps the memory footprint low, while generally offering
- ## full performance for the typical home/small business user. These
- ## settings would be ridiculous for a large enterprise.
- #
- ## DrKK can be found on the #FreeNAS irc channel, or in the forums
- ## at http://forums.freenas.org/
- #
- ## The DNS forwarders listed below work well for me. DO YOUR RESEARCH.
- #
- server:
- interface: 0.0.0.0
- # The following line assumes your LAN is on the usual 192.168.x.x network. Change
- # this setting if necessary.
- access-control: 192.168.0.0/16 allow
- verbosity: 1
- statistics-interval: 3600
- statistics-cumulative: yes
- # outgoing-range: 800
- outgoing-range: 256
- num-threads: 1
- msg-cache-size: 1m
- msg-cache-slabs: 1
- num-queries-per-thread: 128
- rrset-cache-size: 2m
- rrset-cache-slabs: 1
- infra-cache-numhosts: 16
- infra-cache-slabs: 1
- do-ip4: yes
- do-ip6: no
- do-udp: yes
- do-tcp: no
- logfile: "unbound.log"
- use-syslog: no
- log-time-ascii: yes
- private-address: 10.0.0.0/8
- private-address: 172.16.0.0/12
- private-address: 192.168.0.0/16
- private-address: 169.254.0.0/16
- do-not-query-localhost: yes
- log-queries: no
- identity: "unbound DNS running on FreeNAS"
- target-fetch-policy: "0 0 0 0 0"
- prefetch: yes
- cache-max-ttl: 604800
- module-config: "iterator"
- forward-zone:
- ## This is a good set of resolvers for the eastern US. Recommend
- ## that you investigate the best servers for your location. I recommend
- ## Steve Gibson's DNSBench: https://www.grc.com/dns/benchmark.htm
- name: "."
- forward-addr: 199.45.32.40
- forward-addr: 63.218.44.186
- forward-addr: 216.52.126.1
- forward-addr: 8.8.8.8
- # OPTIONAL REMOTE CONTROL SETTINGS (comment out if desired)
- # You must run unbound-control-setup before unbound-control can be used.
- remote-control:
- control-enable: yes
- control-interface: 0.0.0.0
沒有留言:
張貼留言