coredns 添加自定义解析记录 $ kubectl edit configmaps -n kube-system coredns # 添加以下内容 hosts { xx.xx.xx.xx www.qq.com fallthrough }