Unfortunately, I can't split the subnets into individual domains. The separate subnets need to be "invisible" to the outside world for other reasons. One thing, that I wondered, can I point to the dhcp.leases file as an additional source of dns data? I could then possibly setup nfs and let each dnsmasq read the other's dhcp.leases file. Or would that be a really dumb thing?<br>
<br><div class="gmail_quote">On Wed, Jul 15, 2009 at 7:23 PM, Data Control Systems - Mike Elkevizth <span dir="ltr"><<a href="mailto:mike@dcsamerica.com">mike@dcsamerica.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><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><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">Mike
E.</font></span></div><div><div></div><div class="h5">
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<blockquote>
<div dir="ltr" align="left"><font size="2" face="Tahoma">-----Original Message-----<br><b>From:</b>
<a href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss-bounces@lists.thekelleys.org.uk</a>
[mailto:<a href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss-bounces@lists.thekelleys.org.uk</a>]<b>On Behalf Of
</b>Anand Kameswaran<br><b>Sent:</b> Wednesday, July 15, 2009 2:48
PM<br><b>To:</b> <a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss@lists.thekelleys.org.uk</a><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" target="_blank">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></div></div></div>
</blockquote></div><br>