[Dnsmasq-discuss] reducing SPOFs

2010-06-16 Thread Andrew Elwell
Hi Gang,

At the moment I have an /etc/hosts with all the internal machines on
my home LAN, served by dnsmasq (which does the Right Thing - Thanks
for a decent program) as DHCP / DNS server, however I'd like to have a
second DNS server (hey, if DHCP goes down all bets are off) as a
backup. I have a wrt-54g running dd-wrt as an access point downstairs
- would this be the best way?

if so, is the simplest way to sync /etc/hosts from my master onto it
and run in DNS only mode?

(plan B of using opendns/google DNS servers means I can't resolve
internal hosts)


or is there a Better Way (tm)?

Andrew



Re: [Dnsmasq-discuss] reducing SPOFs

2010-06-16 Thread Andrew Elwell
 if so, is the simplest way to sync /etc/hosts from my master onto it
 and run in DNS only mode?

OK - following up my own post incase anyone looks through the archives
for debugging

got this working - main (dnsmasq does DHCP and DNS) server is 192.168.1.251
second box (linksys with dd-wrt) just doing DNS is 192.168.1.2

altered dnsmasq.conf on master to include
  dhcp-option=6,192.168.1.251,192.168.1.2

and the linksys box has an scp'd copy of my master /etc/hosts and runs
dnsmasq with the following config:

interface=br0
resolv-file=/tmp/resolv.dnsmasq
domain=example.com (well, not really)
expand-hosts
bogus-priv
domain-needed
no-resolv
no-poll
server=208.67.222.222
server=208.67.220.220
bogus-nxdomain=67.215.65.132
log-queries
no-dhcp-interface=br0