码迷,mamicode.com
首页 > 其他好文 > 详细

unbound config

时间:2018-01-31 20:21:33      阅读:308      评论:0      收藏:0      [点我收藏+]

标签:ash   serve   cti   bash   pid   ons   hid   red   zone   

server:
 
        verbosity: 1
        statistics-interval: 0
        statistics-cumulative: no
        extended-statistics: yes
        num-threads: 2
        interface: 0.0.0.0
        interface-automatic: no
       so-rcvbuf: 4m
         so-sndbuf: 4m
         msg-cache-size: 64m
         rrset-cache-size: 64m
         cache-max-ttl: 600
         do-ip4: yes
         do-ip6: no
         access-control: 10.0.0.0/8 allow
        chroot: ""
        username: "unbound"
        directory: "/etc/unbound"
       log-time-ascii: yes
        pidfile: "/var/run/unbound/unbound.pid"
         hide-identity: yes
        harden-glue: yes
        harden-dnssec-stripped: yes
        harden-below-nxdomain: yes
        harden-referral-path: yes
        use-caps-for-id: no
        unwanted-reply-threshold: 10000000
        do-not-query-localhost: no
        prefetch: yes
        prefetch-key: yes
        rrset-roundrobin: yes
        minimal-responses: yes
         module-config: "iterator"
        trusted-keys-file: /etc/unbound/keys.d/*.key
        auto-trust-anchor-file: "/var/lib/unbound/root.key"
        val-clean-additional: yes
        val-permissive-mode: no
        val-log-level: 1
        local-zone: "google.com" redirect
        local-data: "google.com IN A 10.8.128.235"
        local-zone: "google.com.hk" redirect
        local-data: "google.com.hk IN A 10.8.128.235"
        include: /etc/unbound/local.d/*.conf
remote-control:
        control-enable: yes
        server-key-file: "/etc/unbound/unbound_server.key"
 
        server-cert-file: "/etc/unbound/unbound_server.pem"
 
        control-key-file: "/etc/unbound/unbound_control.key"
 
        control-cert-file: "/etc/unbound/unbound_control.pem"
 
include: /etc/unbound/conf.d/*.conf
forward-zone:
        name:"."
        forward-addr:10.8.2.55

unbound config

标签:ash   serve   cti   bash   pid   ons   hid   red   zone   

原文地址:https://www.cnblogs.com/psggz/p/8393783.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!