Home | Mirror | Search

第 42 章 dnsmasq

目錄

1. Install
1.1. CentOS / Redhat
1.2. Debian / Ubuntu
1.3. Firewall 設置
2. /etc/dnsmasq.conf
3. dnsmasq.resolv.conf
4. dnsmasq.hosts
5. /etc/dnsmasq.d/dnsmasq.server.conf
6. /etc/dnsmasq.d/dnsmasq.address.conf
6.1. 域名劫持
7. FAQ

1. Install

1.1. CentOS / Redhat

yum -y install dnsmasq
			

1.2. Debian / Ubuntu

apt-get install dnsmasq
			

1.3. Firewall 設置

iptables -A INPUT -p udp -m udp –dport 53 -j ACCEPT
			
comments powered by Disqus