Cloud DNS Flashcards

1
Q

What is Cloud DNS?

A

high availability, low latency service for mapping domain names to IP addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are key points of Cloud DNS?

A
  1. automatically scales
  2. provides private zones to use custom names for VMs
  3. NS and SOA records are added when a zone is created.
    NS -name server record
    SOA -start of authority record
  4. You can add other records such as A and CNAME
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What zone types are available for Cloud DNS?

A
  1. public - accessible from internet, provide name servers that respond to queries from any source
  2. private - provide name services to your GCP resources, only respond to queries that originate from resources in the same project
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you create a DNS managed zone via shell?

A

gcloud beta dns manage-zones create [ZONE NAME] —dns-name=[DNS SUFFIX] –visibility=[private|public]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you add a record to a DNS managed zone via shell?

A

You start a transaction, add the record then execute the transaction
gcloud dns record-sets transaction start –zone=[ZONE]
gcloud dns record-sets transaction add [IP or NAME] –name=[NAME] -ttl=[TTL] –type=[TYPE] –zone=[ZONE]
gcloud dns record-sets transaction execute –zone=[ZONE}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly