Created
February 11, 2017 19:15
-
-
Save thinktainer/1797fad4e4de40e5087632eb3fcdcee7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface=lo | |
bind-interfaces | |
listen-address=127.0.0.1 | |
address=/dev/127.0.0.1 | |
resolv-file=/etc/dnsmasq-resolv.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=DHCP server for local dev domain. | |
Wants=network-online.target | |
After=network.target network-online.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/dnsmasq -C /etc/dnsmasq-tld-dev.conf --pid-file=/var/run/dnsmasq-tld-dev.pid -u dnsmasq | |
PIDFile=/var/run/dnsmasq-tld-dev.pid | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for resolvconf(8) | |
# See resolvconf.conf(5) for details | |
resolv_conf=/etc/resolv.conf | |
# If you run a local name server, you should uncomment the below line and | |
# configure your subscribers configuration files below. | |
name_servers=127.0.0.1 | |
dnsmasq_resolv=/etc/dnsmasq-resolv.conf | |
# | |
#name_servers=8.8.8.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment