CoreDNS

Updated at:

CoreDNS is the DNS service discovery plugin used by default in ACK clusters and ACK Edge cluster. ACK Serverless cluster supports selecting the CoreDNS add-on for service discovery. This topic describes the CoreDNS add-on, its usage, and its change history.

Add-on overview

CoreDNS is the add-on responsible for DNS resolution in Kubernetes clusters. It can resolve custom service domain names inside a cluster and external domain names. The CoreDNS project is hosted by the Cloud Native Computing Foundation (CNCF). For more information about CoreDNS, see CoreDNS: DNS and Service Discovery.

CoreDNS supports two editions: the unmanaged edition and the managed edition. For details, see DNS-based service discovery.

For more information about the correspondence between CoreDNS versions and Kubernetes versions, see CoreDNS version in Kubernetes.

Notes

Change history

Unmanaged edition

Version

Applicable clusters

Image address

Change date

Changes

Impact

v1.13.2.3

Applies to clusters running version 1.27 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.13.2.3

September 16, 2026

  • Optimizations:

    • Supports customizing the number of replicas when the add-on is created.

    • Instance scheduling excludes edge and hybrid cloud nodes.

This upgrade does not affect workloads.

v1.13.2.2

Applies to clusters running version 1.27 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.13.2.2

May 25, 2026

Updated to community version v1.13.2.

This upgrade does not affect workloads.

v1.12.1.3

Applies to clusters running version 1.27 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.12.1.3

November 5, 2025

  • Optimizations:

This upgrade does not affect workloads.

v1.12.1.2

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.12.1.2

October 10, 2025

  • Optimizations:

    • Removed the aliyun suffix from the add-on version number.

    • cache plugin: the default configuration of serve_stale is optimized to serve_stale 30s verify.

This upgrade does not affect workloads.

v1.12.1.1-4035d7a99-aliyun

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.12.1.1-4035d7a99-aliyun

July 22, 2025

Updated to community version v1.12.1.

  • Added the multisocket plugin.

  • Increased the CNAME lookup limit from 7 to 10.

  • plugin/kubernetes: Fixed an issue where DNS resolution returned deleted Pods because of DeletionTimestamp (#7119) (#7131).

  • plugin/kubernetes: Restored "Create PTR records only for endpoints with defined hostnames ( #6898 )".

  • plugin/forward: Added the option failfast_all_unhealthy_upstreams. When all upstream servers are down, servfail is returned.

  • cache plugin enables the serve_stale configuration by default. When the upstream DNS server is unavailable, stale cache entries can be used for responses with a TTL of 0. An asynchronous attempt is also made to obtain the latest address for the domain name.

This upgrade does not affect workloads.

v1.11.3.5-5321daf49-aliyun

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.11.3.5-5321daf49-aliyun

March 19, 2025

  • Updated the base image to address related security vulnerabilities.

  • Supports Lingjun node pools. CoreDNS Pods are not scheduled onto Lingjun nodes.

This upgrade does not affect workloads.

v1.11.3.2-f57ea7ed6-aliyun

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.11.3.2-f57ea7ed6-aliyun

October 21, 2024

  • CoreDNS supports the Firewall plugin, and the Forward plugin supports proceeding to the next plugin based on the return code.

  • On the Operations > Add-ons page in the console, you can customize topology constraint options for deploying the CoreDNS add-on.

This upgrade does not affect workloads.

v1.9.3.16-4341f22f-aliyun

Applies only to ACK Serverless cluster version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.16-4341f22f-aliyun

May 9, 2023

The default memory request for CoreDNS containers during scheduling has increased to 4Gi to prevent CoreDNS from being scheduled onto shared instances. Customize the memory size in the add-on configuration.

The upgrade may require a higher Elastic Container Instance (ECI) specification when creating CoreDNS.

v1.9.3.10-7dfca203-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.10-7dfca203-aliyun

April 3, 2023

  • Optimized zone-level anti-affinity scheduling.

  • Reduced the likelihood of Pods being evicted in elastic node scenarios.

Due to scheduling policy adjustments, CoreDNS replicas might not be scheduled and add-on upgrades might fail when all schedulable nodes in a cluster are in a single zone. Scale out the cluster and distribute schedulable nodes across multiple zones so that CoreDNS replicas can be scheduled and run, which keeps DNS available.

v1.9.3.6-32932850-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.6-32932850-aliyun

August 25, 2022

  • Supports delivery of Kubernetes Events.

  • In ACK Serverless cluster, the default CPU request has been changed to 2 cores.

This upgrade does not affect workloads.

v1.9.3.2-8850b5e7-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.2-8850b5e7-aliyun

August 3, 2022

Supports one-click enablement of CoreDNS log collection in the log center.

This upgrade does not affect workloads.

v1.9.3.1-5e7ba42d-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.1-5e7ba42d-aliyun

July 11, 2022

  • Includes multiple feature enhancements and issue fixes. For details, see CoreDNS-1.9.3 Release.

  • Supports ACK One multi-cluster services.

This upgrade does not affect workloads.

v1.8.4.5-2ce07fd2-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.8.4.5-2ce07fd2-aliyun

April 8, 2022

Optimized CoreDNS scheduling affinity configuration to allow all nodes in a cluster to be elastic scaling nodes.

This upgrade does not affect workloads.

v1.8.4.3-644f4735-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.8.4.3-644f4735-aliyun

February 22, 2022

  • Disabled caching of ServError resolution results.

  • Changed hostname-based anti-affinity scheduling from preferred to required, enforcing node anti-affinity scheduling.

Because replicas are required to use node anti-affinity scheduling, if the number of CoreDNS replicas exceeds the number of nodes, some CoreDNS replicas will remain Pending. Before upgrading to this version, scale out cluster nodes or reduce CoreDNS replicas.

v1.8.4.2-7d597cff-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.8.4.2-3a376cc-aliyun

January 10, 2022

  • Added support for custom parameters.

  • Enabled resolution logs by default.

This upgrade does not affect workloads.

v1.8.4.1-3a376cc-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.8.4.1-3a376cc-aliyun

October 26, 2021

  • Supports watching EndpointSlices resources.

  • Supports DNS queries using IPv6 addresses.

This upgrade does not affect workloads.

v1.7.0.0-f59c03d-aliyun

Applies to clusters running versions later than 1.14.8.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.7.0.0-f59c03d-aliyun

July 8, 2021

  • Changed the default graceful shutdown duration for CoreDNS and the container memory limit in the CoreDNS Deployment.

  • Updated the metrics names. If your monitoring system relies on CoreDNS metrics, update it accordingly. For more information, see Metric Changes.

  • Fixed an issue where the Forward plugin used only the first upstream DNS server.

  • Removed compatibility with the deprecated Upstream plugin. If the Corefile configuration item contains the Upstream plugin, the Upstream plugin is safely and automatically removed during the upgrade.

If you previously modified the DNS configuration file /etc/resolv.conf on ECS, upgrading or rebuilding CoreDNS Pods causes them to use the modified /etc/resolv.conf on ECS. Before upgrading, make sure that all DNS servers in the configuration are working properly.

1.6.7.edge (no longer maintained)

-

registry.{{.Region}}.aliyuncs.com/acs/coredns:1.6.7.edge

April 23, 2021

Built based on community version 1.6.7. For more information, see CoreDNS-1.6.7 Release.

This upgrade does not affect workloads.

v1.7.0

-

registry.{{.Region}}.aliyuncs.com/acs/coredns:1.7.0

March 18, 2021

  • Removed compatibility with the deprecated Upstream plugin. If the Corefile configuration item contains the Upstream plugin, the Upstream plugin is safely and automatically removed during the upgrade.

  • Updated the metrics names. If your monitoring system relies on CoreDNS metrics, update it accordingly. For more information, see Metric Changes.

  • Fixed an issue where the Forward plugin used only the first upstream DNS server.

If you previously modified the DNS configuration file /etc/resolv.conf on ECS, upgrading or rebuilding CoreDNS Pods causes them to use the modified /etc/resolv.conf on ECS. Before upgrading, make sure that all DNS servers in the configuration are working properly.

v1.6.7 (no longer maintained)

-

registry.{{.Region}}.aliyuncs.com/acs/coredns:1.6.7

November 28, 2018

Built based on community version 1.6.7. For more information, see CoreDNS-1.6.7 Release.

This upgrade does not affect workloads.

Managed edition

Version

Applicable clusters

Image address

Change date

Changes

Impact

v1.12.1.2

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.12.1.2

October 10, 2025

This upgrade does not affect workloads.

v1.11.3.2-f57ea7ed6-aliyun

Applies to clusters running version 1.21 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.11.3.2-f57ea7ed6-aliyun

October 21, 2024

  • CoreDNS supports the Firewall plugin, and the Forward plugin supports proceeding to the next plugin based on the return code.

  • On the Operations > Add-ons page in the console, you can customize topology constraint options for deploying the CoreDNS add-on.

This upgrade does not affect workloads.

v1.9.3.10-7dfca203-aliyun

Applies to clusters running version 1.20.4 and later.

registry.{{.Region}}.aliyuncs.com/acs/coredns:v1.9.3.10-7dfca203-aliyun

April 3, 2023

  • Optimized zone-level anti-affinity scheduling.

  • Reduced the likelihood of Pods being evicted in elastic node scenarios.

Due to scheduling policy adjustments, CoreDNS replicas might not be scheduled and add-on upgrades might fail when all schedulable nodes in a cluster are in a single zone. Scale out the cluster and distribute schedulable nodes across multiple zones so that CoreDNS replicas can be scheduled and run, which keeps DNS available.