[Dnsmasq-discuss] Provide only DNS from /etc/hosts

Simon Kelley simon at thekelleys.org.uk
Wed Apr 21 16:36:05 BST 2010


Martin Bretschneider wrote:
> Hi,
> 
> it is possible to let dnsmasq only provide DNS information is has from 
> /etc/hosts.
> In other words, it it possible *not* to ask other "upstream" DNS server 
> if dnsmasq does not know e.g. lists.thekelleys.org.uk?
> 
> TIA  Martin
> 

If dnsmasq doesn't know about any upstream servers, that's exactly how
it will behave. The simplest way to start dnsmasq without any upstream
servers is to use "no-resolv" to stop it from discovering any in
/etc/resolv.conf

HTH

Simon.



More information about the Dnsmasq-discuss mailing list