集群部署zookeeper 3.7.1,报错java.net.UnknownHostException: zookeeper-1.zookeeper-headless.default.svc.cluster.local
很奇怪为什么集群内域名不能解析。其他服务使用域名正常访问
zoo.cfg中service配置如下:
```bash
server.1=0.0.0.0:2888:3888
server.2=zookeeper-1.zookeeper-headless.default.svc.cluster.local:2888:3888
server.3=zookeeper-2.zookeeper-headless.default.svc.cluster.local:2888:3888
```