Parameters

The parent key for all of the following parameters is openshift4_dns.

namespace

type

string

default

syn-openshift4-dns

The namespace in which to deploy this component.

ciliumLocalRedirects

type

dictionary

default
ciliumLocalRedirects:
  enabled: true (1)
  spec: {} (2)
1 enable/disable local redirects
2 configure additional settings

If the cluster is using the cilium network plugin, this creates a CiliumLocalRedirectPolicy custom resource that redirects dns requests to the dns resolver pod on the same node. Similar to the default behaviour on OpenShift without cilium.

See the Cilium Docs for more information.

configs

type

dictionary

default
configs:
  logLevel: Normal
  nodePlacement:
    tolerations:
      - operator: Exists
  operatorLogLevel: Normal
  upstreamResolvers:
    policy: Sequential
    upstreams:
      - port: 53
        type: SystemResolvConf

See the OpenShift Docs for more information.

Example

Configuring DNS forwarding:

configs:
  ...
  servers:
  - name: external-forwarding
    zones:
      - my-zone.external
    forwardPlugin:
      upstreams:
        - 192.168.1.1