All Products
Search
Document Center

Container Service for Kubernetes:Manage the BlazingDNS component

Last Updated:Mar 26, 2026

High DNS query rates in ACK Serverless clusters can cause latency spikes when pods must reach out to remote DNS servers. BlazingDNS intercepts DNS queries from pods running on Elastic Container Instances (ECI) and serves responses from a kernel-level local cache, eliminating the round-trip cost—without modifying your pod's dnsConfig or DNS server settings.

Prerequisites

Before you begin, make sure you have:

How BlazingDNS works

BlazingDNS is a kernel-level DNS caching program. When a pod on an ECI sends a DNS query, BlazingDNS intercepts the query and checks its local cache before forwarding to the upstream DNS server. Cached responses are served immediately, reducing latency.

Because caching runs at the kernel level, no changes to dnsConfig or DNS server settings are required.

After BlazingDNS is installed, DNS requests from elastic container instances are cached automatically, as shown in the following figure:

image

Limitations

BlazingDNS is only available in ACK Serverless clusters and only accelerates DNS resolution for pods running on ECIs. The following additional limitations apply:

  • Supports DNS queries for A, AAAA, and CNAME records only.

  • Supports UDP-based DNS queries only.

  • Supports DNS query responses of 256 bytes or smaller only.

Important

DNS cache acceleration applies only to pods created after BlazingDNS is installed. Existing pods are not affected.

Install BlazingDNS

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster you want to manage. In the left-side navigation pane, choose Operations > Add-ons.

  3. On the Add-ons page, click the Networking tab. Find the BlazingDNS card, then click Install and follow the on-screen instructions.

After installation:

  • A ConfigMap named blazing-dns is created in the kube-system namespace. Do not modify or delete this ConfigMap.

  • DNS cache acceleration is automatically enabled for new pods created on ECIs.

Verify that BlazingDNS is active

To confirm that DNS cache acceleration is enabled for a pod, check the k8s.aliyun.com/dns-cache-enable annotation. A value of true means the pod has DNS cache acceleration enabled.

Upgrade BlazingDNS

On the Add-ons page, click the Networking tab. Find the BlazingDNS card, then click Upgrade and follow the on-screen instructions.

Uninstall BlazingDNS

Important

Before uninstalling BlazingDNS, disable it for all running pods.

Step 1: Identify pods with BlazingDNS enabled

Run one of the following commands to list pods that have BlazingDNS enabled:

kubectl get pod -o=jsonpath='{.items[?(@.metadata.annotations.k8s\.aliyun\.com/dns-cache-enable=="true")].metadata.name}' -A

If jq is installed on the current node, run the following command to also print the namespace for each pod:

kubectl get pod -o=jsonpath='{.items[?(@.metadata.annotations.k8s\.aliyun\.com/dns-cache-enable=="true")]}' | jq -rc ".metadata.namespace,.metadata.name"

Step 2: Disable BlazingDNS for affected pods

If the commands above return results, disable BlazingDNS before proceeding:

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster. In the left-side navigation pane, choose Configurations > ConfigMaps.

  3. On the ConfigMap page, select the kube-system namespace. In the Actions column of the blazing-dns ConfigMap, click Edit. In the panel that appears, set config to enabled: false.

  4. Delete and recreate the affected pods, then rerun the command from Step 1 until no pods are returned.

Step 3: Uninstall the component

On the Add-ons page, click the Networking tab. Find the BlazingDNS card, then click Uninstall and follow the on-screen instructions.