google-cloud-dns

How to update Google Cloud DNS with ephemeral IP for an instance

試著忘記壹切 提交于 2019-12-20 14:23:40
问题 I have couple of instances on GCE that I don't really need static addresses for, but I still need to make them accessible via dns name. Since ephemeral external ip addresses change every time an instance is restarted, I thought that I could use some sort of startup script to update dns entry for that instance in Google Cloud DNS (a bit like dyndns). Did I miss something and there is an easier way to map ephemeral external ip addresses to a dns record via gcloud? If not, any pointers on how to

Google Cloud DNS Services - entity.change parameter is required but missing

左心房为你撑大大i 提交于 2019-12-10 10:34:42
问题 With the following code using Google's PHP API Client I am receiving this response. Google_Service_Exception with message 'Error calling POST https://www.googleapis.com/dns/v1/projects/PROJECT-NAME/managedZones/DNSZONE/changes: (400) The 'entity.change' parameter is required but was missing. Where PROJECT-NAME and DNSZONE are my project and zone. $client_email = MYCLIENT; $private_key = file_get_contents('config/credentials/KEY.p12'); $scopes = array('https://www.googleapis.com/auth/ndev

Google Cloud Platform - Vanity Nameservers

半世苍凉 提交于 2019-12-07 17:10:33
问题 I'm in the process of moving my DNS to Google Cloud Platform and wish to set up vanity nameservers. Is this possible with gloud? I have two domains currently in my project abc-net.co.uk (vanity) abc.co.uk (company domain) I have set 4 records of ns1.abc-net.co.uk A -> 216.239.32.109 (ns-cloud-d1.googledomains.com) ns2.abc-net.co.uk A -> 216.239.34.109 (ns-cloud-d2.googledomains.com) ns3.abc-net.co.uk A -> 216.239.36.109 (ns-cloud-d3.googledomains.com) ns4.abc-net.co.uk A -> 216.239.38.109 (ns

Google Cloud DNS Services - entity.change parameter is required but missing

感情迁移 提交于 2019-12-06 11:41:25
With the following code using Google's PHP API Client I am receiving this response. Google_Service_Exception with message 'Error calling POST https://www.googleapis.com/dns/v1/projects/PROJECT-NAME/managedZones/DNSZONE/changes : (400) The 'entity.change' parameter is required but was missing. Where PROJECT-NAME and DNSZONE are my project and zone. $client_email = MYCLIENT; $private_key = file_get_contents('config/credentials/KEY.p12'); $scopes = array('https://www.googleapis.com/auth/ndev.clouddns.readwrite'); $project = "PROJECT-NAME"; $managedZone = "DNSZONE"; $creds = new Google_Auth

Google Cloud Platform - Vanity Nameservers

﹥>﹥吖頭↗ 提交于 2019-12-05 22:16:55
I'm in the process of moving my DNS to Google Cloud Platform and wish to set up vanity nameservers. Is this possible with gloud? I have two domains currently in my project abc-net.co.uk (vanity) abc.co.uk (company domain) I have set 4 records of ns1.abc-net.co.uk A -> 216.239.32.109 (ns-cloud-d1.googledomains.com) ns2.abc-net.co.uk A -> 216.239.34.109 (ns-cloud-d2.googledomains.com) ns3.abc-net.co.uk A -> 216.239.36.109 (ns-cloud-d3.googledomains.com) ns4.abc-net.co.uk A -> 216.239.38.109 (ns-cloud-d4.googledomains.com) I have compiled all records in my project for abc.co.uk but when I run a

Looking up Google Cloud DNS records (nslookup) directly

橙三吉。 提交于 2019-12-05 21:44:50
I'm in the process of testing GC DNS and have created zones and records. However, doing nslookup (windows/command line) times out when querying assigned Google NS directly: > www.some_domain_A_record.com. Server: ns-cloud1.googledomains.com Addresses: 2001:4860:4802:32::6e 216.239.32.110 DNS request timed out. timeout was 2 seconds. DNS request timed out. timeout was 2 seconds. *** Request to ns-cloud-e1.googledomains.com timed-out Does anyone have any advice/input on this? Notes: I am only using Cloud DNS for this project (no GCE/GAE/VM, etc.), essentially "just DNS". I'm looking to migrate

I have just been charged $134.53 for Google cloud Managed DNS [closed]

谁说胖子不能爱 提交于 2019-12-05 04:33:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I know this is not the place for it but Google cloud have absolutely no guides as to why I'd be charged that much for a domain that's hosted with them, I need to understand what happened so I wouldn't find a charge again tomorrow... I have one domain hosted with Google cloud as I was trying it out and it's

How to map a custom domain to an app-engine app via Cloud DNS api?

烈酒焚心 提交于 2019-12-04 10:56:10
Is there any documentation to explain how to map a custom domain to an app hosted on App Engine and solely via Cloud DNS API or any other Google Cloud API? I've already added a CNAME record for the "www.my-domain.com." pointing to "ghs.googlehosted.com.", and I've set the name server addresses I've received from the Cloud DNS, on my domain registrar account. But I still get a 404 on a google server (a 404 page with google logo, etc). [Update]: As I've mentioned in my other reply on this thread, Amazon Route53 service has a specific kind of "alias" DNS record which you can map a domain to any

I have just been charged $134.53 for Google cloud Managed DNS [closed]

我的未来我决定 提交于 2019-12-03 20:34:03
I know this is not the place for it but Google cloud have absolutely no guides as to why I'd be charged that much for a domain that's hosted with them, I need to understand what happened so I wouldn't find a charge again tomorrow... I have one domain hosted with Google cloud as I was trying it out and it's pointing to an instance inside Google cloud, I'm not pointing to an outside website somewhere. PLEASE HELP Edit: Google has replied to my support ticket much sooner than expected and their reply was: After reviewing the information you provided, we believe that you may be affected by a known

How to update Google Cloud DNS with ephemeral IP for an instance

戏子无情 提交于 2019-12-03 03:10:51
I have couple of instances on GCE that I don't really need static addresses for, but I still need to make them accessible via dns name. Since ephemeral external ip addresses change every time an instance is restarted, I thought that I could use some sort of startup script to update dns entry for that instance in Google Cloud DNS (a bit like dyndns). Did I miss something and there is an easier way to map ephemeral external ip addresses to a dns record via gcloud? If not, any pointers on how to write such script would be highly appreciated! The following assumes that you are using Google Cloud