Marketplace

NodeLocal DNS

Updated September 24, 2024

NodeLocal DNS reduces DNS query workload by running a cache on each node in a Managed Service for Kubernetes cluster. This improves cluster performance and fault tolerance.

Deployment instructions
  1. Configure the application:

    • Namespace: Select the kube-system namespace.

    • Application name: Specify the app name.

    • Internal IP address of the kube-dns service: Address for accessing NodeLocal DNS Cache. Requests sent from application pods to the address in the field are routed to local DNS using the iptables rules.

      The field contains the ClusterIP address of kube-dns in the kube-system namespace. You can get the value of the field using the following command:

      kubectl get svc kube-dns -n kube-system -o jsonpath={.spec.clusterIP}
      

      Since Yandex Cloud adds the kube-dns service when creating the cluster, IP address of the service is pre-defined. Therefore, you cannot change it in the kube-dns internal IP address field.

    • Work with Cilium: Select this option if a cluster uses the Cilium network policy controller.

  2. Click Install.

  3. Wait for the application to change its status to Deployed.

After installing NodeLocal DNS, use the following values:

  • Kubernetes cluster zone: cluster.local.
  • Адрес NodeLocal DNS Cache: 169.254.20.10.
  • Application port for external queries: 53.
  • Port for collecting metrics in Prometheus format: 9253.

You can learn more about setting up local DNS caching in the Managed Service for Kubernetes documentation.

Billing type
Free
Type
Kubernetes® Application
Category
Network infrastructure
Publisher
Yandex Cloud
Use cases
  • Caching queries from applications hosted on a Managed Service for Kubernetes cluster node.
Technical support

Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.

Product composition
Helm chartVersion
Pull-command
Documentation
yandex-cloud/node-local-dns1.5.1Open
Docker imageVersion
Pull-command
k8s.gcr.io/dns/k8s-dns-node-cache17147416475649422662991366310873698109295850215181.23.0
Terms
By using this product you agree to the and the terms and conditions of the following software: Yandex Cloud Marketplace Terms of Use.
Billing type
Free
Type
Kubernetes® Application
Category
Network infrastructure
Publisher
Yandex Cloud