Skip to content

Instantly share code, notes, and snippets.

@mithrandi
Created February 2, 2015 17:58
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 mithrandi/16c88427418f7b86f468 to your computer and use it in GitHub Desktop.
Save mithrandi/16c88427418f7b86f468 to your computer and use it in GitHub Desktop.
dnsmasq.conf
domain-needed
bogus-priv
resolv-file=/etc/ppp/resolv.conf
interface=eth0
addn-hosts=/etc/ppp/peeraddr
domain=mithrandi.net
dhcp-range=set:eth0,10.0.0.100,10.0.0.200,24h
dhcp-range=::,constructor:eth0,ra-stateless,ra-names
dhcp-host=f4:6d:04:af:b7:f2,10.0.0.7,lorien,72h
dhcp-host=00:1b:21:04:a6:24,e0:cb:4e:e6:ff:5d,10.0.0.10,gondolin,72h
dhcp-option=option:ntp-server,0.0.0.0
dhcp-option=option6:ntp-server,[::]
dhcp-option=option6:dns-server,[::]
dhcp-authoritative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment