Skip to content

Instantly share code, notes, and snippets.

@lgraubner
Last active August 24, 2018 17:54
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 lgraubner/d5bca973bf52ed48b639da2edb0135fa to your computer and use it in GitHub Desktop.
Save lgraubner/d5bca973bf52ed48b639da2edb0135fa to your computer and use it in GitHub Desktop.
Dnsmasq configuration file
# domain needed
bogus-priv
# local domain
local=/fuchsbau.lan/
# listen from local machine and network
listen-address=127.0.0.1
listen-address=192.168.2.2
# use /etc/hosts file for local domains
expand-hosts
# set domain
domain=fuchsbau.lan
# increase cache size
cache-size=2000
# dns servers
no-resolv
server=1.1.1.1
server=8.8.8.8
server=9.9.9.9
# set available dhcp range
dhcp-range=192.168.2.100,192.168.2.199,24h
# router ip
dhcp-option=option:router,192.168.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment