mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 06:55:00 +00:00
Resolves A, CNAME chain, and SRV records via miekg/dns. Queries all configured servers in parallel and returns the first success. Falls back to OpenDNS/Cloudflare/Quad9 when /etc/resolv.conf is absent or empty.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%