Skip to content

Releases: levenlabs/go-srvclient

v1.1.0

10 Apr 17:43
Compare
Choose a tag to compare
  • Added OnExchangeError handler for a client to log exchange errors that might have otherwise been hidden
  • Added SingleInFlight option to combine duplicate queries transparently

v1.0.2

21 Jan 04:25
Compare
Choose a tag to compare

fix: put rand back in pool, don't use rand if only 1 pick, remove lever (6938c48)

Stable

11 Sep 20:17
Compare
Choose a tag to compare

Admiral has been using this in production for years and it should be considered stable.

Changes since the last (official) version:

  • Added AllSRVTranslate
  • Pool rand.Rand instances

Allow resolver ips to be specified on command-line

22 Feb 20:33
Compare
Choose a tag to compare
Merge pull request #7 from levenlabs/resolvers

Resolvers

AllSRV and MaybeSRV

01 Dec 20:32
Compare
Choose a tag to compare
  • Added AllSRV method which returns all the results for a given hostname.
  • Added MaybeSRV method which does a SRV lookup if no port is included with hostname. If the SRV lookup fails, it just returns the original hostname sent.
  • Improved unit tests

Use custom backend for resolving SRV requests

30 Oct 03:18
Compare
Choose a tag to compare

Go's builtin dns resolver has trouble with large dns responses. So instead we use the miekg/dns package and do everything manually!

Small fix to make errors in the binary go to stderr

23 Sep 15:32
Compare
Choose a tag to compare
Merge pull request #2 from LevenLabs/stderr

make srvclient binary errors go to stderr

First release

04 Aug 22:42
Compare
Choose a tag to compare

This project is very simple, it has a library package which other projects can use to resolve srv requests, and a simple binary client which does the same for command-line usage.