Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 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