mparaz
mparaz

Reputation: 2069

Is it possible to point a Google Cloud DNS entry to a Google Compute Engine instance?

Could I use a reference or link to my Google Compute Engine host's logical name, instead of 173.255.x.x. in:

{
    "additions": [
        {
            "kind": "dns#resourceRecordSet",
            "name": "compute-engine-host.domain.com.",
            "rrdatas": [
                "173.255.x.x."
            ],
            "ttl": 60,
            "type": "A"
        }
    ]
}

Upvotes: 0

Views: 753

Answers (1)

JJ Geewax
JJ Geewax

Reputation: 10579

I don't believe that this is possible yet, but I'll see if we can get it on the list of things to build.

Until then, you should be able to use the Cloud DNS API's Changes.create method to have your GCE machine add/update a DNS record when it boots up...

Upvotes: 1

Related Questions