1、unbound介绍下载安装
打开网址NLnet Labs - Unbound - Download
下载想下载的版本,这里我下载的是unbound-1.10.0。
解压unbound-1.10.0.tar.gz
./configure --prefix=/usr/local/unbound --with-pthreads --with-libevent --with-ssl
make && make install
2、配置文件
根据configue的参数,目录安装在/usr/local/unbound下
随便网上找个了配置文件
server:
verbosity: 1
num-threads: 2 #线程数
interface: 0.0.0.0 #监听地址(一般写本机内网ip)
interface: ::0
port: 53 #端口
so-reuseport: yes #为每个线程的传入查询打开专用侦听套接字。可以更均