Open mlamothe opened 5 years ago
Go erroneously (https://github.com/golang/go/issues/24870) disables support for compressed SRV Target fields which necessitates the ability to turn off compression in Consul for integrations with any Go related project - i.e. krackend (https://github.com/devopsfaith/krakend/issues/268)
Overview of the Issue
I have two consul servers configured more or less like this (different IP addresses)
`{ "datacenter": "test", "data_dir": "/opt/consul", "encrypt": "####", "client_addr": "10.30.54.161", "addresses": { "http": "0.0.0.0" }, "server": true, "bootstrap_expect": 2, "ui": true, "bind_addr": "10.30.54.161", "dns_config": { "disable_compression": true }
}`
Reproduction Steps
Setup Consul with disable_compression, the response from a SRV DNS query is still compressed. This actually crashes Go, which doesn't allow compressed SRV records.
Operating system and Environment details
Consul v1.5.2 Ubuntu Server 18.04.02 LTS