Looking for some advice on getting Dynamic DNS working on Azure.
For some background: typically with a Linux based OS, DHCP is used to
register a host with DNS, rather than each host registering with the DNS
server directly. However, Azure does not support this behavior and
requires that hosts register with the DNS server directly. This leads to
difficulty in trying to get Linux hosts working with DDNS on their platform. There is some documentation available here that we have referred to:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-ddns
However, these instructions appear to be Ubuntu specific and do not
necessarily work on other distros.
I've been digging through documentation on systemd-networkd and dhcpcd.conf, and they mention having the ability to use hooks similar to dhcpclient. I haven't been able to pin it down, but maybe something in
/libexec/dhcpcd-hooks would work? However, this directory doesn't exist in CoreOS, and I'm not sure if it's the correct method or even supported.
Anyone here have suggestions on how to get a ( dhcpclient -> nsupdate -> dns server ) equivalent working on CoreOS?