gdcloud dns record-sets create

名稱

gdcloud dns record-sets create - 建立新的 DNS 記錄集。

概要

gdcloud dns record-sets create [flags]

範例

To create a new DNS record set, run:
    gdcloud dns record-sets create record-set-example
    --dns-zone=dns-zone-example
    --type=A
    --fqdn=test.dns-zone-example
    --rrdatas=192.0.2.1
    --ttl=300

必要標記

      --dns-zone string   The name of managed DNS zone that the record set belongs to.
      --fqdn string       The fully qualified domain name of the record set.
      --rrdatas strings   The DNS data for each record set.
      --type string       The DNS record type of the record set.

選用旗標

      --async        Return immediately without waiting for the operation to complete.
      --ttl uint32   The time to live in seconds for the record set. (default 300)

GDCLOUD 廣泛旗標

所有指令都可使用這些旗標:--configuration--format--help--project--quiet

詳情請參閱 gdcloud CLI 參考資料總覽頁面。