[Dnsmasq-discuss] dnsmasq - Is it possible to force www.localnet to be resolved by forward servers

Thomas Jones thomas.r.jones at ntlworld.com
Sat Dec 3 10:01:06 GMT 2005


I solved the problem by hashing

local=/localnet/

If I read the notes correctly, if this is enabled, this stops localnet 
being looked up from the forward name servers, if not found in 
/etc/hosts.

Regards

Tom

On 2 Dec 2005, at 20:53, Simon Kelley wrote:

> Thomas Jones wrote:
>> Hi,
>> I have had a quick look in the archives, but can't find anything 
>> relating to a question I have.
>> I've got a problem where our ISP has host www.localnet, I was 
>> wandering if it is possible to set specific hosts i.e. www in my 
>> domain to be looked up at the forward servers, defined in 
>> /etc/resolve.conf ?, at the moments it just comes back with no such 
>> host, as it's not defined in /etc/hosts file.
>
> There's no reason why www.localnet shouldn't be passed through anyway, 
> as long as it's not in /etc/hosts or the DHCP set.
>
> It's probably worth adding
>
> log-queries
>
> to /etc/dnsmasq.conf to see what's happening.
>
> Cheers,
>
> Simon.
>
>




More information about the Dnsmasq-discuss mailing list