小东博客

使用Linux VPS(Centos)搭建公共DNS解析服务器

linux安装dnsmasq搭建dns公共解析服务器   安装环境Centos 6 x86   首先,我们需要安装dnsmasq。安装指令如下: yum install dnsmasq 下面我们就需要配置DNSMASQ了,配置文件一般位于路径/etc/dnsmasq.conf。基本上配置文件内容如下所示: # /etc/dnsmasq.conf # Set up your local domain here domain=raspberry.local resolv-file=/etc/resolv.dnsmasq min-port=4096 server=8.8.8.8 server=8.8.4.4 # Max cache size dnsmasq can give us, and we want all of it! cache-size=10000 # Below are settings for ...