Score:0

Dynamic Google hosted DNS zone update by DHCP

us flag

I have dns zone running in Google Cloud. I would like to integrate my ISC-DHCP with that zone by enabling automatic host registration into the zone.

I'm looking for some analogy to enable in Google Cloud this BIND feature:

   key DHCP_UPDATER {
     algorithm HMAC-MD5.SIG-ALG.REG.INT;
     secret pRP5FapFoJ95JEL06sv4PQ==;
   };

   zone "example.org" {
        type master;
        file "example.org.db";
        allow-update { key DHCP_UPDATER; };
   };

and configuring the DHCP server to update the zone on the lease changes.

Any idea how to do that?

Score:1
cn flag

I'm not sure this will work, most cloud providers don't allow you to update DNS records they host via that kind of interface. You'd need to find some kind of plugin or tool that mirrors the changes via their cloud APIs.

Your best option is to delegate a subdomain and allow that to be updated via DHCP, hosted in the same environment that will be querying it.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.