2017年2月8日

consul dns 转发配置

摘要: 测试使用dnsmasq。 优势:可以方便的进行应该编码,进行动态域名解析,容错处理。 因为consul 默认的dns 为127.0.0.1 8600 所以配置如下: 文件目录:/etc/dnsmasq.d ### 目录下# Enable forward lookup of the 'consul' domain:server=/consul/127.0.0.1#8600# Uncomment ... 阅读全文

posted @ 2017-02-08 22:16 荣锋亮 阅读(4664) 评论(0) 推荐(0) 编辑

consul 几个方便使用的类库

摘要: consul 几个方便使用的类库 1. java https://github.com/OrbitzWorldwide/consul-client <dependency> <groupId>com.ecwid.consul</groupId> <artifactId>consul-api</art 阅读全文

posted @ 2017-02-08 11:18 荣锋亮 阅读(1613) 评论(0) 推荐(0) 编辑

导航