[Dnsmasq-discuss] dynamic dns server ?
Colin Kincaid Williams
discord at uw.edu
Thu Jun 12 04:06:41 UTC 2014
On second thought a dhcp forwarder probably won't work, because I
don't think I can set a dhcp server address in dhclient.conf. That
leaves using dynamic-dnsmasq.pl as my only option, unless I'm
overlooking something.
On Wed, Jun 11, 2014 at 8:34 PM, Colin Kincaid Williams <discord at uw.edu> wrote:
> I've been asked to provide a dns solution for a lab environment. In
> the lab they are spinning up VM's with virtual network interfaces, the
> problem is the machines need to be able to communicate with each
> other. The lab has a certain network infrastructure that I cannot
> change e.g. DHCP server.
>
> So for the VM hosts foo1.local, I would like it to resolv foo2.local,
> foo3.local. More vms can be spun up all the time, and I cannot assume
> i know their hostname.
>
> These hosts all receive their ips from another DHCP server, lets call
> it dhcp.local. It might be nice if I could use dnsmasq to provide them
> with an IP address, because I believe that it can also add that IP
> dynamically to it's hostname / DNS table.However, I have to use
> dhcp.local that is not using DHCP. I saw an option to use dnsmasq as a
> DHCP relay. If I chose this option, will -dhcp-relay=<local
> address>,<server address>[,<interface], will I be able to get an
> adress from dhcp.local, and still have the fqdn and ip added to the
> DNS table on the dnsmasq server, call it dnsmasq.local.
>
>
> If this won't work another thing I was thinking I could do is use the
> dynamic-dnsmasq.pl script to add the host to dnsmasq.local, on the
> creation of the vm.
>
> I think I prefer using the DHCP relay, if that would work. I'm just
> looking for some advice. Some other possibilities include the use of
> mDNS or zeroconf...
More information about the Dnsmasq-discuss
mailing list