“When a request comes in, dnsmasq does not look in zone or
similar files; it consults /etc/hosts first and then will look
externally for addresses by consulting the name server(s) defined
in /etc/resolv.conf. This is a quick and easy way to override
external DNS addresses by simply defining them in /etc/hosts on the
system that is running dnsmasq.“Dnsmasq also provides DHCP services quite easily. To do so,
uncomment and set the following options in /etc/dnsmasq.conf:”
Using Dnsmasq for DNS and DHCP Services
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis