[Dnsmasq-discuss] question about dns behavior

2013-10-03 Thread Craig Yoshioka
What does dnsmasq do in the event that it has a cached DNS entry that may be expired but the upstream DNS host isn't reachable? Does it give up and return the cached but expired entry? (That's how I'm hoping it behaves). Thanks, -Craig ___

[Dnsmasq-discuss] high availability options

2013-09-16 Thread Craig Yoshioka
Hi all, I know it's been asked before, but just thought I'd get an update on high availability options in dnsmasq. My preference would be to let a backend db handle synchronization and just run two instances of dnsmasq pointed to the same backend; one could be set as authoritative and the

[Dnsmasq-discuss] multi-homed server with same hostname on 2 subnets

2012-07-21 Thread Craig Yoshioka
Hi, I have a server using two interfaces for different subnets, with the same hostname on both. The subnets are: 192.168.0.0/24 192.168.1.0/24 I've gotten each interface to get the correct IP from dnsmasq using: dhcp-host=eth0,myserver,192.168.0.10 dhcp-host=eth0,myserver,192.168.1.10 but

Re: [Dnsmasq-discuss] multi-homed server with same hostname on 2 subnets

2012-07-21 Thread Craig Yoshioka
Sorry, typo the lines should have been: dhcp-host=eth0,myserver,192.168.0.10 dhcp-host=eth1,myserver,192.168.1.10 On Jul 21, 2012, at 12:44 PM, Craig Yoshioka crai...@me.com wrote: Hi, I have a server using two interfaces for different subnets, with the same hostname on both

Re: [Dnsmasq-discuss] multi-homed server with same hostname on 2 subnets

2012-07-21 Thread Craig Yoshioka
at 12:49:38PM -0700, Craig Yoshioka wrote: Sorry, typo the lines should have been: dhcp-host=eth0,myserver,192.168.0.10 dhcp-host=eth1,myserver,192.168.1.10 On Jul 21, 2012, at 12:44 PM, Craig Yoshioka crai...@me.com wrote: I have a server using two interfaces for different subnets

[Dnsmasq-discuss] static dhcp range and lease times

2012-07-19 Thread Craig Yoshioka
does the following declarations: dhcp-range=10.0.0.10,10.0.0.100,static,infinite dhcp-host=host1,10.0.0.20 dhcp-host=host2,10.0.0.21 mean host1 and host2 will inherit the infinite lease time? ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] static ip configuration

2012-07-17 Thread Craig Yoshioka
Are the only two ways of configuring static IPs to edit /etc/ethers, or add dhcp-host lines? Initially I thought dnsmasq would just use the hostname--ip mappings in my /etc/hosts, but that doesn't seem to be working... Is there any good reason for not having an option to use /etc/hosts for