Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-09-06 Thread mikioh . mikioh
On Friday, September 7, 2018 at 5:43:24 AM UTC+9, Jason Newman wrote: > > I pinged a couple of people associated with kube-dns and they were able to > reproduce the issue on the latest kube-dns release (1.14.10). They are > planning on tagging a new release of kube-dns that includes an improvemen

Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-09-06 Thread jason
I pinged a couple of people associated with kube-dns and they were able to reproduce the issue on the latest kube-dns release (1.14.10). They are planning on tagging a new release of kube-dns that includes an improvement to the behavior. Thank you all for the guidance. On Friday, August 31, 201

Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-08-31 Thread mikioh . mikioh
On Friday, August 31, 2018 at 2:54:08 PM UTC+9, Jason Newman wrote: > > Is it worth creating an issue around this? We have extracted the DNS > client from `net` and are currently using it with the compressed flag > enabled to allow compressed hostnames - the behavior that existed in go > 1.10 an

Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-08-30 Thread jason
We have traced the issue to the Kubernetes DNS server, kube-dns. It is returning compressed hostnames in SRV query responses. It can be reproduced by running The following app exits with an error in MiniKube (or any other Kubernetes cluster with kube-dns). cannot unmarshal DNS message - Targ

Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-08-29 Thread jason
This code works in our Kubernetes cluster when compiled with Go 1.10 and does not work when compiled with Go 1.11, we are using the built-in Go resolver. https://play.golang.org/p/JNSJEm1n6hg On Wednesday, August 29, 2018 at 4:28:54 PM UTC-6, Nathan Fisher wrote: > > Can you share examples? > O

Re: [go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-08-29 Thread Nathan Fisher
Can you share examples? On Wed, Aug 29, 2018 at 19:08, wrote: > We are using SRV records in Kubernetes for various purposes and Go 1.11 no > longer supports compressed names in SRV resource data ( > https://github.com/golang/net/commit/24dd3780ca4f75fed9f321890729414a4b5d3f13#diff-47e2241916c7047

[go-nuts] go1.11 no longer supports compressed hostnames in SRV lookup replies

2018-08-29 Thread jason
We are using SRV records in Kubernetes for various purposes and Go 1.11 no longer supports compressed names in SRV resource data (https://github.com/golang/net/commit/24dd3780ca4f75fed9f321890729414a4b5d3f13#diff-47e2241916c7047eab73daf76c89fc3fR2055). The error we are getting is "cannot unmars