<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/8/18 7:55 PM,
<a class="moz-txt-link-abbreviated" href="mailto:dnsmasqyq.xpt@neverbox.com">dnsmasqyq.xpt@neverbox.com</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMmz1OecC2XPzxerXP203hn7d2g5LxVmR5UepUQqaAAOfEA7tg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote"><br>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>If I'm using dnsmasq just as a DNS caching
server, not a DHCP one,</div>
<div>would it be possible to config some fixed IP
addresses as DNS entries for my LAN?</div>
<div><br>
</div>
<div>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? </div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>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.</p>
<p><br>
</p>
<p>Michael</p>
<p><br>
</p>
</body>
</html>