<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV><SPAN class=187435022-15072009><FONT color=#0000ff size=2 face=Arial>I do
this by separating the two subnets into two domains. Then you can
tell the server on domain1 to forward all queries for domain2 to the other
server. It works well for me, but I always know which
subnet each host is on. You could also use the config
option "server=//server.domain2" and visa-versa to make all queries with an
unqualified domain name forward to the other server. If anyone knows a
better way, I would like to know myself.</FONT></SPAN></DIV>
<DIV><SPAN class=187435022-15072009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=187435022-15072009><FONT color=#0000ff size=2 face=Arial>Mike
E.</FONT></SPAN></DIV>
<DIV><SPAN class=187435022-15072009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<BLOCKQUOTE>
<DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B>
dnsmasq-discuss-bounces@lists.thekelleys.org.uk
[mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk]<B>On Behalf Of
</B>Anand Kameswaran<BR><B>Sent:</B> Wednesday, July 15, 2009 2:48
PM<BR><B>To:</B> dnsmasq-discuss@lists.thekelleys.org.uk<BR><B>Subject:</B>
[Dnsmasq-discuss] two dnsmasq servers providing dhcp for one
domain<BR><BR></FONT></DIV>I am maintaining an internal private domain using
dnsmasq. However there are n number of subnets connected via
infrastructure VPN, and up until now I have had dnsmasq only on one subnet and
it has been succesfully serving DNS for all subnets. However I now have
a need to add DHCP to those subnets. Now I have succesfully setup
dnsmasq to serve DHCP to the subnet it is on. However on the other side
of the VPN, obviously dhcp requests will not be recieved. <BR>I was
thinking I could setup a second dnsmasq instance on the other side of the VPN,
but then each DNSmasq will only know about the DHCP names for the machines on
it's side of the VPN. I don't think DHCP relay is an option (I could be
wrong - but it is for a rather large number of subnets)<BR>Is there a way to
configure the two dnsmasq servers to update and/or querry each other?
All machines on the subnets share the same domain, so my understanding is that
if dnsmasq doesn't find <A href="http://hostx.domain.com">hostx.domain.com</A>
then it will give up.<BR><BR>Currently the dnsmasq also do forward lookups for
external addresses.<BR><BR>Thanks,<BR>AK<BR></BLOCKQUOTE></BODY></HTML>