Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
github.com/lanrat/dns
Less is more.
Complete and usable DNS library. All Resource Records are supported, including the DNSSEC types. It follows a lean and mean philosophy. If there is stuff you should know as a DNS programmer there isn't a convenience function for it. Server side and client side programming is supported, i.e. you can build servers and resolvers with it.
We try to keep the "master" branch as sane as possible and at the bleeding edge of standards, avoiding breaking changes wherever reasonable. We support the last two versions of Go.
A not-so-up-to-date-list-that-may-be-actually-current:
Send pull request if you want to be listed here.
Have fun!
Miek Gieben - 2010-2012 - miek@miek.nl DNS Authors 2012-
This library uses Go modules and uses semantic versioning. Building is done with the go
tool, so
the following should work:
go get github.com/miekg/dns
go build github.com/miekg/dns
A short "how to use the API" is at the beginning of doc.go (this also will show when you call godoc github.com/miekg/dns
).
Example programs can be found in the github.com/miekg/exdns
repository.
all of them
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.