[Dnsmasq-discuss] DNS entry without DHCP

Michael michael at kmaclub.com
Sun Dec 9 03:26:14 GMT 2018


On 12/8/18 7:55 PM, dnsmasqyq.xpt at neverbox.com wrote:
>
> Hi,
>
> If I'm using dnsmasq just as a DNS caching server, not a DHCP one,
> would it be possible to config some fixed IP addresses as DNS entries 
> for my LAN?
>
> I.e., instead of changing the hosts file on every machine on my LAN 
> with the same entries, is it possible to do such configuration 
> centralized at dnsmasq DNS server alone?
>

Yes, just add them to the /etc/hosts file on the machine running dnsmasq 
or use the addn-hosts directive to point it to another file.


Michael


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181208/48027fc3/attachment.html>


More information about the Dnsmasq-discuss mailing list