Topic 1 Question 4
You are migrating to Cloud DNS and want to import your BIND zone file. Which command should you use?
gcloud dns record-sets import ZONE_FILE --zone MANAGED_ZONE
gcloud dns record-sets import ZONE_FILE --replace-origin-ns --zone MANAGED_ZONE
gcloud dns record-sets import ZONE_FILE --zone-file-format --zone MANAGED_ZONE
gcloud dns record-sets import ZONE_FILE --delete-all-existing --zone MANAGED ZONE
解説
Once you have the exported file from your other provider, you can use the gcloud dns record-sets import command to import it into your managed zone. To import record-sets, you use the dns record-sets import command. The --zone-file-format flag tells importto expect a BIND zone formatted file. If you omit this flag, import expects a YAML-formatted records file. Reference: https://medium.com/@prashantapaudel/gcp-certification-series-2-4-planning-and-configuring-network-resources-8045ac2cc2ac
ユーザの投票
コメント(13)
It should be C only as suggested.
--zone-file-format Indicates that the input records-file is in BIND zone format. If omitted, indicates that the records-file is in YAML format.
👍 14rakeshvardan2020/08/24--zone-file-format Indicates that the input records-file is in BIND zone format. If omitted, indicates that the records-file is in YAML format.
👍 2[Removed]2021/04/17ANS is C. --zone-file-format flag indicates that the input records-file is in BIND zone format. If omitted, indicates that the records-file is in YAML format. ref. https://cloud.google.com/sdk/gcloud/reference/dns/record-sets/import
👍 2EJJ2021/04/18
シャッフルモード