【问题标题】:Google Cloud DNS Bad Request Reason InvalidGoogle Cloud DNS 错误请求原因无效
【发布时间】:2014-11-09 08:33:20
【问题描述】:

我收到来自 Google Cloud DNS 服务的错​​误“错误请求”。也许我做错了什么?感谢您的帮助。

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

【问题讨论】:

    标签: dns google-cloud-dns


    【解决方案1】:

    您忘记了 dns 名称末尾的句点。应该是:

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

    【讨论】:

      猜你喜欢
      • 2020-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-26
      • 1970-01-01
      • 1970-01-01
      • 2014-12-11
      相关资源
      最近更新 更多