Some observations (which might help other people trying to achieve similar goals or help me if someone on the list has found better ways to accomplish this).<div><br></div><div>One server which handles DNS, DHCP (dnsmasq) and other services (cups, ssh, ...).</div>
<div><br></div><div>When it comes to configuring dnsmasq the &quot;problems&quot; start when one tries to make the server reachable by other computers (by hostname) and when the server tries to serve it&#39;s own dns queries.</div>
<div><br></div><div>1. server hostname</div><div>- &quot;/etc/hosts&quot; : might not cut it because it might be overwritten by some other service</div><div>- &quot;dhcp-host&quot; dnsmasq option : does not work for providing the &quot;own&quot; host name</div>
<div><br></div><div>one can use &quot;no-host&quot; and/or &quot;addn-hosts&quot; dnsmasq option to provide the own host name</div><div><br></div><div>2. nameserver</div><div>- &quot;/etc/resolv&quot; : might not cut it because it might be overwritten by some other service</div>
<div>- &quot;server&quot; dnsmasq option : does not work for providing the &quot;own&quot; nameserver name</div><div>- &quot;resolv-file&quot; dnsmasq option : does not work for providing the &quot;own&quot; nameserver name</div>
<div><br></div><div>the only option seems to be to create a &quot;/etc/resolv.conf&quot; file before starting (or restarting) dnsmasq</div><div><br></div><div>If my findings are wrong please enlighten me :-), otherwise I hope this summary is of some use to someone.</div>
<div><br></div><div>cheers,</div><div>wim</div>