![]() Server=8.8.8.8 # Forward DNS requests to Google DNSĭomain-needed # Don't forward short names # Bind to the interface to make sure we aren't sending things ![]() Paste the following into the new file interface=eth0 # Use interface eth0 The shipped dnsmasq config fileĬontains a lot of information on how to use it. Open the interfaces file sudo nano /etc/network/interfacesĮdit the eth0 section like this: allow-hotplug eth0 We will assign a static IP address toĮth0 which will be used as gateway. ![]() Isc-dhcp-server and bind9 packages for DHCP and DNS respectively,īut for our purposes, dnsmasq works just fine. If you want something a little more 'heavyweight', you can use the We will use dnsmasq package for this purpose because it is combinedĭHCP and DNS server and also easy to configure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |