wlf f051014ac2 提交正常运行的所有代码 | 1 year ago | |
---|---|---|
.. | ||
.travis.yml | 1 year ago | |
AUTHORS | 1 year ago | |
CONTRIBUTORS | 1 year ago | |
COPYRIGHT | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
client.go | 1 year ago | |
clientconfig.go | 1 year ago | |
defaults.go | 1 year ago | |
dns.go | 1 year ago | |
dnssec.go | 1 year ago | |
dnssec_keygen.go | 1 year ago | |
dnssec_keyscan.go | 1 year ago | |
dnssec_privkey.go | 1 year ago | |
doc.go | 1 year ago | |
edns.go | 1 year ago | |
format.go | 1 year ago | |
labels.go | 1 year ago | |
msg.go | 1 year ago | |
nsecx.go | 1 year ago | |
privaterr.go | 1 year ago | |
rawmsg.go | 1 year ago | |
sanitize.go | 1 year ago | |
scanner.go | 1 year ago | |
server.go | 1 year ago | |
sig0.go | 1 year ago | |
singleinflight.go | 1 year ago | |
tlsa.go | 1 year ago | |
tsig.go | 1 year ago | |
types.go | 1 year ago | |
udp.go | 1 year ago | |
udp_linux.go | 1 year ago | |
udp_other.go | 1 year ago | |
udp_windows.go | 1 year ago | |
update.go | 1 year ago | |
xfr.go | 1 year ago | |
zgenerate.go | 1 year ago | |
zscan.go | 1 year ago | |
zscan_rr.go | 1 year ago | |
ztypes.go | 1 year ago |
Less is more.
Complete and usable DNS library. All widely used 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, currently: 1.4 and 1.5.
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
Building is done with the go
tool. If you have setup your GOPATH
correctly, 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
ldns
NSD
Net::DNS
GRONG