Re: [Dnsmasq-discuss] override public records

2009-06-13 Thread Jorge Bastos
> Dnsmasq reads the /etc/hosts file on the local machine at startup, and > prepopulates its local db/cache with those entries. It's one way to > achieve what you're looking to do. Another method is to use the 'local' > or 'server' keyword in the dnsmasq config file to define a local > mapping, whic

Re: [Dnsmasq-discuss] override public records

2009-06-13 Thread Paul Chambers
Jorge Bastos wrote: On Sat, Jun 13, 2009 at 10:11 AM, Jorge Bastos wrote: Howdy, How can I override a public dns value? Did you try just adding an entry in /etc/hosts ? 'course not, if DNSMasq is serving machines on the LAN... that doesn't work. :P Dnsmasq reads the /etc/

Re: [Dnsmasq-discuss] override public records

2009-06-13 Thread Jorge Bastos
> On Sat, Jun 13, 2009 at 10:11 AM, Jorge Bastos > wrote: > > Howdy, > > > > How can I override a public dns value? > > Did you try just adding an entry in /etc/hosts ? 'course not, if DNSMasq is serving machines on the LAN... that doesn't work. :P

Re: [Dnsmasq-discuss] override public records

2009-06-13 Thread richardvo...@gmail.com
On Sat, Jun 13, 2009 at 10:11 AM, Jorge Bastos wrote: > Howdy, > > How can I override a public dns value? Did you try just adding an entry in /etc/hosts ? > > Ex: > > > > Mail.domain.com IN A 192.168.1.1 > > Mail.domain.com IN A 192.168.2.1 > > > > This is the public values, the alias MAIL for do

[Dnsmasq-discuss] override public records

2009-06-13 Thread Jorge Bastos
Howdy, How can I override a public dns value? Ex: Mail.domain.com IN A 192.168.1.1 Mail.domain.com IN A 192.168.2.1 This is the public values, the alias MAIL for domain.com has 2 entries for round-robin, but inside the local lan, I want this to result in only one record: Mail.domain.

Re: [Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0?

2009-06-13 Thread A C
> From: rune.k...@gmail.com > Date: Sat, 13 Jun 2009 04:15:03 +0200 > Subject: Re: [Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0? > To: ag...@hotmail.com > CC: dnsmasq-discuss@lists.thekelleys.org.uk > > > my one wireless machine would not acquire a lease. > > Is dnsmasq only used

Re: [Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0?

2009-06-13 Thread Rune Kock
> my one wireless machine would not acquire a lease. Is dnsmasq only used as DHCP-server by that single machine? If other clients use dnsmasq as well, does it work for them? On Sat, Jun 13, 2009 at 03:34, A C wrote: > Well, it seems to start up normally.  It just never seems to get a DHCP > requ

Re: [Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0?

2009-06-13 Thread A C
Well, it seems to start up normally. It just never seems to get a DHCP request. There's nothing in the logs after the initial startup messages (like loading /etc/ethers). As soon as I revert the netmask on the router to 255.255.255.0 everything starts working again. Here's the log: Jun 12 17:

Re: [Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0?

2009-06-13 Thread Rune Kock
On Sat, Jun 13, 2009 at 02:45, A C wrote: > I was trying to stretch out my internal IP space a bit by switching from a > netmask of 255.255.255.0 to 255.255.0.0 so I could divide up services by a > larger subnet (servers on 10.0.0.x, IP phones on 10.0.1.x, etc.).  I'm using > dnsmasq on a Linksys W

[Dnsmasq-discuss] DHCP not working for netmask 255.255.0.0?

2009-06-13 Thread A C
I was trying to stretch out my internal IP space a bit by switching from a netmask of 255.255.255.0 to 255.255.0.0 so I could divide up services by a larger subnet (servers on 10.0.0.x, IP phones on 10.0.1.x, etc.). I'm using dnsmasq on a Linksys WRT54G and have been doing so with no problems