I do see this: https://github.com/hashicorp/consul/issues/854
Which is that the output from consul is too large and doesn't conform to the RFC which makes Go unable to read the DNS record. It does feel like this is a stdlib issue. Are you able to do thinks like python3 -c "import socket; print (socket.gethostbyname ('api.jujucharms.com '))" While being python that is essentially what we are doing in Go. You could also try something like: main.go: package main import ( "net" "fmt" ) func main () { fmt.Println (net.LookupHost ("api.jujucharms.com")) } go run main.go John =:-> On Nov 10, 2016 05:09, "Benoit GEORGELIN - Association Web4all" < benoit.george...@web4all.fr> wrote: > Hi members of the list , > > > I'm playing/discovering JUJU I would like to know if anyone is using > CONSUL as a DNS server to resolve new running containers > > I'm using LXD as a cloud provider > > > juju --version > 2.0.1-xenial-amd64 > > consul --version > Consul v0.6.4 > Consul Protocol: 3 (Understands back to: 1) > > > Looks like JUJU is not able to read the answer from the DNS server : > > Could not add requested charm. Server responded with: cannot retrieve > charm "cs:trusty/wordpress-4": cannot get archive: Get > https://api.jujucharms.com/charmstore/v5/trusty/wordpress-4/archive: dial > tcp: lookup api.jujucharms.com on <DNS_SERVER_IP>:53: cannot unmarshal > DNS message > > > Should I open a bug ? > > Thanks > > Cordialement, > > BenoƮt G > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju