Study. uk . com
  1. Home
  2. All questions
  3. Question 782

CKA study material · question 782 of 1000

A cluster must send queries for internal.example.com to a particular corporate nameserver. How is that expressed in CoreDNS?

  1. A stubDomains entry in the ConfigMap
  2. An upstreamNameservers list
  3. An additional forward stanza for that domain
  4. A dnsConfig on every Pod
Show the answer

Answer: C. An additional forward stanza for that domain

CoreDNS uses the forward plugin for this; stubDomains and upstreamNameservers were the kube-dns settings and have no meaning in a Corefile.

Source: Customizing DNS Service (Kubernetes) — CoreDNS › CoreDNS ConfigMap options

Challenge yourself on this topic → Study as cards