を削除しようとしているとき:GoogleのWebコンソール経由GoogleクラウドDNS invalidZoneApex私は<code>NS</code>と<code>SOA</code>レコードを削除しようとしていますが、私はこのメッセージを取得しています<a href="https://cloud.google.com/dns/api/v1/" rel="nofollow">DNS API</a>を使用してNSとSOA
{
"error": {
"errors": [
{
"domain": "global",
"reason": "invalidZoneApex",
"message": "The resource record set 'entity.change.deletions[0]' is invalid because a zone must contain exactly one resource record set of type 'SOA' at the apex."
},
{
"domain": "global",
"reason": "invalidZoneApex",
"message": "The resource record set 'entity.change.deletions[1]' is invalid because a zone must contain exactly one resource record set of type 'NS' at the apex."
}
],
"code": 400,
"message": "The resource record set 'entity.change.deletions[0]' is invalid because a zone must contain exactly one resource record set of type 'SOA' at the apex."
}
}
、私が更新することができます/レコードを修正してください。これは私のカスタムNS
とSOA
を追加するのに役立ちます。私は自分でのvanityという名前を使うことができます。
さらに、新しいNS
またはSOA
を追加したい場合は、が既に存在します。エラーです。
DNS APIを使用してゾーンを完全に操作する方法はありますか?