Skip to content

Instantly share code, notes, and snippets.

@nickpegg
Created August 19, 2014 23:37
Show Gist options
  • Save nickpegg/eb5807cf441797f9d92f to your computer and use it in GitHub Desktop.
Save nickpegg/eb5807cf441797f9d92f to your computer and use it in GitHub Desktop.
My dnsmasq configs
# My DHCP configs
dhcp-range=10.0.0.110,10.0.0.250,12h
# options for DNS
dhcp-option=option:domain-search,home.nickpegg.com,nickpegg.com
# Static DHCP entries
dhcp-host=00:24:1D:7D:5F:C3,10.0.0.10,host1
dhcp-host=88:30:8A:22:2E:74,10.0.0.11,host2
dhcp-host=00:23:54:1A:16:2D,10.0.0.12,host3
# Only allow DNS/DHCP requests from the inside interface
interface=eth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment