CoreDNS:一个用 Go 编写、模块化(插件式)的 DNS 服务器,常作为 Kubernetes 集群内的默认 DNS 服务,用于把域名解析为 IP 地址(也可作为通用 DNS 服务在非 Kubernetes 环境中使用)。
/ˈkɔːr diː ˌɛn ˈɛs/
CoreDNS resolves service names inside the cluster.
CoreDNS 在集群内部解析服务名称。
After we enabled the rewrite plugin in CoreDNS, requests to internal domains were routed to the new endpoints without changing application code.
在 CoreDNS 中启用 rewrite(重写)插件后,对内部域名的请求被路由到新的端点,而无需修改应用代码。
CoreDNS 由 core(“核心”)与 DNS(Domain Name System,域名系统)组合而来,字面含义接近“核心 DNS”。其命名也体现了它作为可扩展、可插拔的 DNS 核心服务的定位,尤其在云原生与 Kubernetes 场景中常被视为基础组件。