[Dnsmasq-discuss] problem with forwarders

Simon Kelley simon at thekelleys.org.uk
Mon May 29 10:33:20 BST 2006


kranas at freemail.gr wrote:
> Hi
> I have installed dnsmasq to my linux box running suse 10.
> First of all I would like to say that is is a great program.
> My linux box is connected to 2 local subnets, 1 wireless subnet
> and to internet with a dsl router.
> Using dnsmasq i provide dhcp service to my 2 local subnets.
> Also I'm giving access to the dsl line to my local subnets and
> part of the wireless network. 
> 
> In the wireless network there is another dns server running (say 10.0.0.1),
> providing dns service for names belonging to the wireless netowork
> but also does this for internet domains.
> 
> If in my resolv file I add only the dns server 10.0.0.1
> then all queries are responed successfully. But I would like
> internet names to be resolved from my internet dns server
> and names belonging to the wireless network resolved from 10.0.0.1
> If I add in resolv.conf file first the internet dns server and
> second the 10.0.0.1 then internet queries are answered but queries
> regarding the wireless net are not answered.
> 
> Any help please;
> 
> 
> 

You can have a server used only for some domains, so if your wireless 
net had names in the domain wireless.net then doing

server=/wireless.net/10.0.0.1

would send only *.wireless.net queries to the 10.0.0.1 server and 
everything else would go to the servers on /etc/resolv.conf

THere's some additional stuff needed for reverse lookups (IP -> name), 
that's covered in the FAQ.

Cheers,

Simon.

> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list