[Dnsmasq-discuss] the hosts file

Stefan Sundberg timewind at hotmail.com
Thu Jul 24 17:50:49 BST 2008


My dnsmasq.conf file looks like this:

interface=fxp1
interface=tun0
local=/lan/
domain=lan
dhcp-range=192.168.0.128,192.168.0.254,3h

Stefan


> From: bcook at poughkeepsieschools.org
> To: timewind at hotmail.com
> Subject: Re: [Dnsmasq-discuss] the hosts file
> Date: Thu, 24 Jul 2008 11:28:10 -0400
> 
> what does your config look like?
> 
> egrep -v '^#|^$' /usr/local/etc/dnsmasq.conf
> 
> 
> On Jul 24, 2008, at 10:33 AM, Stefan Sundberg wrote:
> 
> >
> > Hello!
> >
> > I have started to use dnsmasq on a freebsd 6.x router/nat machine  
> > where it is used as dns for my connected windows clients. I have a  
> > problem with the dns server which I have not been able to resolve. I  
> > have an entry in my hosts file for each of the clients and it look  
> > something like this:
> >
> > 192.168.0.1    computer1
> > 192.168.0.2   computer2
> >
> > and so on. The problem is that dnsmasq does not resolve 'computer1'.  
> > I need to use 'computer1.lan' or the local domain I may have chosen  
> > and configured dnsmasq to use. Is it possible to configure dnsmasq  
> > so it resolves the 'simple names' directly as they are written in  
> > the hosts file?
> >
> > Regards
> > Stefan Sundberg
> >
> >
> >
> > _________________________________________________________________
> > Skaffa Messenger i mobilen!
> > http://windowslivemobile.msn.com/Homepage.aspx?lang=se-se_______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
> -- 
> B. Cook
> Network Analyst
> Poughkeepsie City School District
> Mobile: 845.264.5827 | Desk: 845.451.4791
> 

_________________________________________________________________
Trött på jobbet? Hitta nya utmaningar här!
http://msn.jobbguiden.se/jobseeker/resumes/postresumenew/postresumestart.aspx?sc_cmp2=JS_INT_SEMSN_NLPCV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080724/275c2b61/attachment.htm


More information about the Dnsmasq-discuss mailing list