unbound config

Posted psggz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了unbound config相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

[linux][c/c++]代码片段02

[异常解决] Keil安装好nRF51822开发环境,运行DEMO报错:Error:“GPIOTE_CONFIG_NUM_OF_LOW_POWER_ENVENTS” is undefined(代码片段

Dynamics CRM 2015/2016 Web API:Unbound Custom Action 和 Bound Custom Action

Macvlan 上的 Pi-hole + Unbound (native. install):如何配置 Unbound 以使用 macvlan 接口?

unbound搭建递归dns

在 Signal 和 Slot 之间传递参数时的 PyQt Unbound 方法