Skip to content

Instantly share code, notes, and snippets.

@copyninja
Created August 7, 2011 07:10
Show Gist options
  • Save copyninja/1130151 to your computer and use it in GitHub Desktop.
Save copyninja/1130151 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