F5BigDnsNamedOption

The F5BigDnsNamedOption CRD sets global BIND named.conf options on F5 BIG-IP Next. Use this CRD to customize server-wide DNS behavior, such as caching limits, DNSSEC validation, and recursion settings.

Options are specified as an array of strings in “name value” format using standard BIND syntax. When you create or update an F5BigDnsNamedOption resource, ZoneRunner applies the changes to named.conf and triggers a configuration reload. DNS queries continue to be served during the reload. Multiple F5BigDnsNamedOption resources are supported. Keywords must remain unique across CRs in the namespace.

Parameters

The following tables describe the F5BigDnsNamedOption CR parameters.

metadata

Parameter Description
name The name of the DNS named option.
namespace The Kubernetes namespace where the DNS named option is installed.

Spec

Field Type Required Default Description
options string[] Yes — BIND named.conf global options in "name value" format. At least one option is required.

Configure F5BigDnsNamedOption

Prerequisites

Make sure:

  • BIG-IP Next CNF 2.4 or later is installed and the F5 Ingress controller is running.

  • You have kubectl access to the CNF cluster with permissions to create Custom Resources.

Apply DNS named options

  1. Copy the F5BigDnsNamedOption example CR below to a YAML file.

apiVersion: k8s.f5net.com/v1
kind: F5BigDnsNamedOption
metadata:
  name: global-options
  namespace: default
spec:
  options:
    - "recursion no"
    - "dnssec-validation auto"
    - "max-cache-size 128M"
    - "max-ncache-ttl 300"
    - "allow-recursion { none; }"
  1. Apply the CR to your cluster:

    kubectl apply -f global-options.yaml