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

Martin Bretschneider bretschneider-mldnsmasq at imr.uni-hannover.de
Mon Dec 21 16:49:15 GMT 2009


Am 21.12.2009 17:10, schrieb Simon Kelley:

Hi Simon,

> 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>

thanks for your anser but Barella gave me PM the tip just to uncomment 
the local domain with
	# local=/localnet/
and it works.

Thanks very much.

Martin



More information about the Dnsmasq-discuss mailing list