Releases: levenlabs/go-srvclient
Releases · levenlabs/go-srvclient
v1.1.0
v1.0.2
Stable
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
Merge pull request #7 from levenlabs/resolvers Resolvers
AllSRV and MaybeSRV
- 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
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
Merge pull request #2 from LevenLabs/stderr make srvclient binary errors go to stderr
First release
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.