我们正在使用牧场主从目录Rancher的官方Route53 DNS主机进行部署。我们已阅读文档并按照说明如何从目录中启动Route53外部DNS。通过UI启动服务后,它创建了DNS条目。然后,我们尝试访问我们运行的Wordpress容器的一个DNS端点。这个端点没有解决,我们相信,这是因为端点指向内部IP地址。我们在route53容器中包含了以下日志,您可以从创建端点的日志中看到,我们也在Route53中验证了这些端点。
5/24/2017 12:24:26 AMtime="2017-05-24T05:24:26Z" level=info msg="Starting Rancher External DNS service v0.6.4"
5/24/2017 12:24:27 AMtime="2017-05-24T05:24:27Z" level=info msg="Configured Route 53 with hosted zone gmacon.solutions."
5/24/2017 12:24:27 AMtime="2017-05-24T05:24:27Z" level=info msg="Healthcheck handler is listening on :1000"
5/24/2017 12:24:27 AMtime="2017-05-24T05:24:27Z" level=info msg="Adding dns record: {external-dns-adminproject.gmacon.solutions. [minecraft.idevops-minecraft.default.gmacon.solutions. minecraftlb.idevops-minecraft.default.gmacon.solutions. mumble.idevops-mumble.default.gmacon.solutions. wordpress.wantoutaichi.default.gmacon.solutions.] TXT 60}"
5/24/2017 12:24:27 AMtime="2017-05-24T05:24:27Z" level=info msg="Adding dns record: {mumble.idevops-mumble.default.gmacon.solutions. [172.31.34.145] A 60}"
5/24/2017 12:24:27 AMtime="2017-05-24T05:24:27Z" level=info msg="Adding dns record: {minecraft.idevops-minecraft.default.gmacon.solutions. [172.31.34.145] A 60}"
5/24/2017 12:24:28 AMtime="2017-05-24T05:24:28Z" level=info msg="Adding dns record: {wordpress.wantoutaichi.default.gmacon.solutions. [172.31.34.145] A 60}"
5/24/2017 12:24:28 AMtime="2017-05-24T05:24:28Z" level=info msg="Adding dns record: {minecraftlb.idevops-minecraft.default.gmacon.solutions. [172.31.34.145] A 60}"