[Dnsmasq-discuss] exception of an dns entry of the local net

Simon Kelley simon at thekelleys.org.uk
Mon Dec 21 16:10:56 GMT 2009


Martin Bretschneider wrote:
> Hi,
> 
> a server with www.localnet is outside my control of localnet. Dnsmasq 
> thinks that it is local due to the domain and wants to find it in 
> /etc/hosts but it should not be there: I want dnsmasq to ask the default 
> DNS server only for www.localnet. Is there an option that www.localnet 
> is *not* in the localnet despite the fact that there is the line 
> "local=/localnet/" in the config?
> 
> TIA  Martin
> 

There's not way to make it ask the default server, but you can make it
ask a server just for www.localnet, and that server could be the same as
the default one.

server=/www.localnet/<server-ip>


HTH

Simon



More information about the Dnsmasq-discuss mailing list