This is a clone/fork of https://github.com/miekg/dns
Go to file
Miek Gieben 92736e2a8a Dont create a new type for updates 2011-12-09 20:56:59 +01:00
_examples shorten it even more 2011-12-09 16:01:59 +01:00
.gitignore add gitignore file 2011-09-20 10:21:17 +02:00
LICENSE add TSIG axfr test, still needs work though 2011-07-05 20:52:35 +02:00
Makefile I do not have use for zone structures yet 2011-09-02 13:02:29 +02:00
README.markdown update readme and fix spelling mistakes 2011-09-12 10:13:50 +02:00
TODO.markdown Add some more functions 2011-09-20 15:56:51 +02:00
client.go Fixes the latest weekly 2011-11-02 23:06:54 +01:00
client_test.go First pass of updating tests 2011-12-09 15:47:41 +01:00
clientconfig.go Dont append the default port to the nameservers 2011-12-09 16:13:59 +01:00
defaults.go gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
dns.go Fixes the latest weekly 2011-11-02 23:06:54 +01:00
dns_test.go Remove a packStruct - should improve performance 2011-08-08 15:28:19 +02:00
dnssec.go Fix NSEC presentation 2011-12-09 16:11:37 +01:00
dnssec_test.go Make the tests compile again 2011-09-10 21:22:42 +02:00
edns.go gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
keygen.go add privatedns/oid 2011-12-09 16:00:41 +01:00
kparse.go Fixes the latest weekly 2011-11-02 23:06:54 +01:00
kparse.rl documentation 2011-07-23 23:32:42 +02:00
miek.nl.signed_test cannot handle comments on that spot (yet) miek.nl.signed_test 2011-07-29 16:11:04 +02:00
msg.go Fixes 2011-12-09 16:07:17 +01:00
nsec3.go export Unpack/PackDomainName 2011-12-09 15:58:36 +01:00
nsec3_test.go Make the tests compile again 2011-09-10 21:22:42 +02:00
parse_test.go gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
qnamestring.go gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
rawmsg.go gofmt (excluding _examples) 2011-11-27 21:03:21 -08:00
server.go Fixes the latest weekly 2011-11-02 23:06:54 +01:00
server_test.go gofmt -w 2011-07-23 23:43:43 +02:00
tsig.go Update to the latest weekly: weekly/weekly.2011-12-06 2011-12-09 11:16:49 +01:00
types.go Fix NSEC presentation 2011-12-09 16:11:37 +01:00
types.rl Parse differently 2011-09-02 13:44:35 +02:00
update.go Dont create a new type for updates 2011-12-09 20:56:59 +01:00
xfr.go Fixes the latest weekly 2011-11-02 23:06:54 +01:00
zparse.go Update to the latest weekly: weekly/weekly.2011-12-06 2011-12-09 11:16:49 +01:00
zparse.rl comments 2011-09-02 14:01:55 +02:00

README.markdown

Alternative (more granular) approach to a DNS library.

Completely usable DNS library. Most widely used Resource Records are supported including DNSSEC types. It follows a lean and mean philosophy. If there is stuff you should know as a DNS programmers there isn't a convenience function for it.

Features:

  • UDP/TCP queries, IPv4 and IPv6;
  • TSIG;
  • EDNS0;
  • AXFR/IXFR;
  • Client and server side programming (mimicking the http package);
  • Asynchronous queries for client and server;
  • RFC 1035 zone file parsing (everything, except multiline records work). non-working ATM.

Sample programs can be found in the _examples directory. They can be build with: make examples (after the dns package has been installed)

Everything else should be present and working. If not, drop me an email.

Have fun!

Miek Gieben - 2010, 2011 - miek@miek.nl

Supported RFCs and features include:

  • 103{4,5} - DNS standard
  • 1982 - Serial Arithmetic
  • 1876 - LOC record (incomplete)
  • 1995 - IXFR
  • 1996 - DNS notify
  • 2136 - DNS Update (dynamic updates)
  • 2181 - RRset definition
  • 2537 - RSAMD5 DNS keys
  • 2065 - DNSSEC (updated in later RFCs)
  • 2671 - EDNS
  • 2782 - SRV
  • 2845 - TSIG
  • 2915 - NAPTR
  • 3110 - RSASHA1 DNS keys
  • 3225 - DO bit (DNSSEC OK)
  • 340{1,2,3} - NAPTR
  • 3597 - Unkown RRs
  • 403{3,4,5} - DNSSEC + validation functions
  • 4255 - SSHFP
  • 4408 - SPF
  • 4509 - SHA256 Hash in DS
  • 4635 - HMAC SHA TSIG
  • 4892 - id.server
  • 5001 - NSID
  • 5155 - NSEC
  • 5933 - GOST
  • 5936 - AXFR
  • xxxx - ECDSA

Loosely based upon:

  • ldns
  • NSD
  • Net::DNS
  • GRONG