← All notes

Kubernetes DNS: records for Services and Pods

Answer: Kubernetes creates DNS records for Services and for Pods. You can use consistent DNS names instead of IP addresses. Services defined in the cluster are assigned DNS names. DNS queries that do not specify a namespace are limited to the Pod's namespace.

Notes

Kubernetes publishes information about Pods and Services which is used to program DNS. Access Services in other namespaces by specifying the namespace in the DNS query.

Reference list

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, DNS for Services and Pods; Kubernetes website, dns-pod-service.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, DNS for Services and Pods; Kubernetes website, dns-pod-service.md. CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:vv8kza50

iinventedlight. 2026. "Kubernetes DNS: records for Services and Pods." iinventedlight Library, iil:note:vv8kza50, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-dns-config/. License: CC-BY-4.0.

@misc{iil_note_vv8kza50,
  author = {{iinventedlight}},
  title = {{Kubernetes DNS: records for Services and Pods}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-dns-config/},
  note = {Permanent ID iil:note:vv8kza50. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-dns-config.md.