Skip to content

Instantly share code, notes, and snippets.

@kra3
Forked from copyninja/dnsmasq.conf
Created July 1, 2012 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kra3/3027683 to your computer and use it in GitHub Desktop.
Save kra3/3027683 to your computer and use it in GitHub Desktop.
# Listen for DHCP and DNS on this interface
interface=wlan0
# No dhcp for this interface
no-dhcp-interface=usb0
# Domain name for a subnet
domain=copyninja.info, 192.168.1.0/24
#dhcp range
dhcp-range=192.168.1.10, 192.168.1.15, 12h
# router
dhcp-option=3,192.168.1.1
#ip forward no
dhcp-option=19,0
# Source routing
dhcp-option=20,0
#DNS
dhcp-option=6,192.168.1.1
#NTP Sever
dhcp-option=42,0.0.0.0
# Authoritative
dhcp-authoritative
########
# Dns Cache configuration
########
cache-size=1024
#block silly request
domain-needed
filterwin2k
# Servers to use
server=8.8.8.8
server=8.8.4.4
server=4.2.2.2
#enable logging
#log-queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment