一、配置文件:局域网内使用此dns服务时候首先会在host.dnsmasp里面找对应域名,若找不到则在resolv.dnsmasq中找
[root@operation_server dnsmasq.d]# cat /etc/dnsmasq.conf
resolv-file=/etc/dnsmasq.d/resolv.dnsmasq
addn-hosts=/etc/dnsmasq.d/hosts.dnsmasq
conf-dir=/etc/dnsmasq.d/,*.conf
二、hosts.dnsmasq
三、resolv.dnsmasq