2014-11-09 58 views
1

我收到來自Google Cloud DNS服務的錯誤請求。也許我做錯了什麼?謝謝你的幫助。Google Cloud DNS Bad Request原因無效

gcloud dns managed-zone create --dns_name="archiver.photo" --description="Waitman Gobble's Archiver.Photo zone" archiverphoto 

Creating {'dnsName': 'archiver.photo', 'name': 'archiverphoto', 
'description': "Waitman Gobble's Archiver.Photo zone"} in 


Do you want to continue (Y/n)? y 

ERROR: (gcloud.dns.managed-zone.create) ResponseError: status=400, code=Bad Request, reason(s)=invalid 
message=Invalid value for 'entity.managedZone.dnsName': 'archiver.photo' 

$ whois archiver.photo 

Domain Name: archiver.photo 
Domain ID: DO_a14a5650944dd1238389653549ede7b5-UR 
Updated Date: 2014-11-08T17:07:18.490Z 
Creation Date: 2014-11-08T17:07:17.328Z 
Registry Expiry Date: 2015-11-08T17:07:17.328Z 
Registrant ID: tudgwdzl9bhpmwey 
Registrant Name: Waitman Gobble 
Registrant Organization: Waitman Gobble 

回答

2

您忘記了dns名稱末尾的句點。它應該是:

gcloud dns managed-zone create \ 
    --dns_name="archiver.photo." \ 
    --description="Waitman Gobble's Archiver.Photo zone" \ 
    archiverphoto