3 Sites and Dynamic DNS
-
In a 3-site configuration using OpenVPN in routing mode like this:
site1 <-tun-> site2 <-tun-> site3 <-tun-> site1
where:
site1 10.10.1.0/24
site2 10.10.2.0/24
site3 10.10.3.0/24I would like to have a local DHCP server in each site and the hostnames registered to the DNS forwarder on site2, is that possible?. The idea is that all the clients can resolve names for machines on the other sites.
The dynamic DNS update option doesn't allow to specify a destination for updates and the relay doesn't seem to work for this, I couldn't make a request on site1 reach DHCP on site2. Also you can't differentiate on the main site using the "circuit ID" to specify different paramenters.
What's the solution in this case?