jdev - 2021-03-01

  1. Martin

    Regarding our recent discussion about SRV records. It seems golangs net.SRV does exactly the right thing. So you don't have to do anything manuall except you want to mix xmpp-client and xmpps-client records. >LookupSRV tries to resolve an SRV query of the given service, protocol, and domain name. The proto is "tcp" or "udp". The returned records are sorted by priority and randomized by weight within a priority. https://golang.org/pkg/net/#LookupSRV