Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Email

第 32 章 dnsmasq

目录

32.1. Install
32.1.1. CentOS / Redhat
32.1.2. Debian / Ubuntu
32.1.3. Firewall 设置
32.2. /etc/dnsmasq.conf
32.3. dnsmasq.resolv.conf
32.4. dnsmasq.hosts
32.5. /etc/dnsmasq.d/dnsmasq.server.conf
32.6. /etc/dnsmasq.d/dnsmasq.address.conf
32.6.1. 域名劫持
32.7. FAQ

32.1. Install

32.1.1. CentOS / Redhat

yum -y install dnsmasq
			

32.1.2. Debian / Ubuntu

apt-get install dnsmasq
			

32.1.3. Firewall 设置

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