2

I have a 5 node Consul Cluster. When I run the DNS command below, it lists only three IPs at a time randomly. How can I have all 5 IPs listed at the same time (randomly) as opposed to three at a time?

dig @ 127.0.0.1 -p 8600 service_name.service.consul 
techraf
  • 4,852
  • 11
  • 24
  • 40
The Georgia
  • 143
  • 4

1 Answers1

2

https://www.consul.io/docs/agent/options.html

under dns_config, set enable_truncate to true

That should do it but I don't have a consul server at home to test on.

Wayne Walker
  • 458
  • 4
  • 7