Home | Mirror | Search

2. /etc/dnsmasq.conf

一般配置下面三處即可

# vim /etc/dnsmasq.conf

resolv-file=/etc/dnsmasq.resolv.conf
addn-hosts=/etc/dnsmasq.hosts
conf-dir=/etc/dnsmasq.d

/etc/init.d/dnsmasq restart
		
comments powered by Disqus