Created
January 31, 2014 13:22
-
-
Save matglas/8732019 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Install dnsmasq | |
sudo apt-get install dnsmasq | |
# Add lines to a configuration file in /etc/dnsmasq.d | |
# Don't use .local as address. That won't work. | |
nano dnsservers | |
> server=8.8.8.8 | |
> server=8.8.4.4 | |
nano domains | |
> address=/.private/127.0.0.1 | |
# Restart the dnsmasq service. | |
sudo service dnsmasq restart | |
# Uncomment prepend domain-name-servers 127.0.0.1; | |
sudo nano /etc/dhcp/dhclient.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment