User Tools

Site Tools


dnsmasq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dnsmasq [2017/01/05 06:04] (current)
felixonmars created
Line 1: Line 1:
 +==== DNS Server ====
 +<​code>​
 +no-resolv
 +no-poll
 +conf-dir=/​etc/​dnsmasq.d
 +server=8.8.4.4
 +server=8.8.8.8
 +</​code>​
 +
 +==== DHCP Server ====
 +<​code>​
 +dhcp-range=192.168.0.100,​192.168.0.200,​12h
 +dhcp-option=option:​router,​192.168.0.1
 +dhcp-option=option:​dns-server,​192.168.0.1
 +</​code>​
 +
 +=== DHCP Whitelist ===
 +<​code>​
 +dhcp-ignore=net:​!whitelist
 +dhcp-host=<​MAC-ADDRESS>,​net:​whitelist
 +</​code>​
 +
 +==== Auto DNS Configuration For Websites Located in China ====
 +
 +Moved to github: https://​github.com/​felixonmars/​dnsmasq-china-list
  
dnsmasq.txt ยท Last modified: 2017/01/05 06:04 by felixonmars