Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | About

第 35 章 dnsmasq

目录

35.1. Install
35.1.1. CentOS / Redhat
35.1.2. Debian / Ubuntu
35.1.3. Firewall 设置
35.2. /etc/dnsmasq.conf
35.3. dnsmasq.resolv.conf
35.4. dnsmasq.hosts
35.5. /etc/dnsmasq.d/dnsmasq.server.conf
35.6. /etc/dnsmasq.d/dnsmasq.address.conf
35.6.1. 域名劫持
35.7. FAQ

35.1. Install

35.1.1. CentOS / Redhat

yum -y install dnsmasq
			

35.1.2. Debian / Ubuntu

apt-get install dnsmasq
			

35.1.3. Firewall 设置

iptables -A INPUT -p udp -m udp –dport 53 -j ACCEPT