I have several interfaces on my server Hamachi, eth0, eth1, etc. Simply repeat the line with the another interface name if you have additional interfaces you would like dnsmasq to listen to.
The following two lines are optional; however, if used, dnsmasq will append the domain name you choose to the host names defined in dnsmasq. I use these, but the only real benefit I saw in my network was that I was able to ping devices such as my game consoles based on the names I defined for them using the dhcp-host parameter see below. For example, I like to have the computer I use most often receive the same IP address.
That way I can easily forward ports to it, etc. The following parameter will assign a name to these devices in dnsmasq.
The DHCP server needs somewhere keep its lease database file. I simply retained the default location chosen by dnsmasq for my Ubuntu server install. Note that this default location will vary depending on which platform your using to host dnsmasq:. Finally, you can adjust the number of entries dnsmasq will keep in its DNS cache in the following line. I retained the default of Keep in mind though that the options described here really only scratch the surface.
I would strongly urge you to read through dnsmasq. Recall that I uncommented the strict-order line in dnsmasq. This comes handy when there are hosts in your network that you have assigned, or would like to assign, static IP addresses to.
I settled on a hybrid approach for my network. Once dnsmasq. The simplest to do that is to use the dig utility:. When you look at the output from dig and find the line showing the query time. Note the time and run the command again. You should see a noticable improvement in response time indicating that dnsmasq is caching query results locally. This concludes the article on how to install and configure dnsmasq on your Linux- or Unix-based host. For a full list of all the configuration options and other information I encourage you to visit the dnsmasq web site.
Russell, thanks very much for taking the time to post your comment. Very glad it worked well for you. Your email address will not be published. Skip to content This post will describe how to install and configure dnsmasq on a Linux- or Unix-based host. Note: It may not show or output anything. In this case, start a cmd terminal, and execute the script directly in the command line. Windows allows to configure DNS servers in your network config.
Go directly to the DNS tab, and you should see something like this:. Keep the defaults on every option , but in the DNS servers addresses , add Acrylic should run over the Now, when you ping on any.
Last modified: Edit : I stopped using Acrylic , it was quite unstable and was not working well. To make this possible, I tried several tools, and one took my attention: Acrylic.
Add one single rule: AcrylicHosts.
0コメント