2011-02-10 19:01:43 +11:00
|
|
|
# Alternative (more granular) approach to a DNS library.
|
2010-12-29 01:44:19 +11:00
|
|
|
|
2011-01-16 09:05:56 +11:00
|
|
|
Completely usable DNS library. Most widely used Resource Records are
|
2012-01-12 08:01:40 +11:00
|
|
|
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. For instance I'm pondering if a zone-like structure should be
|
|
|
|
implemented in the library.
|
2011-07-06 03:54:20 +10:00
|
|
|
|
2011-09-12 18:13:50 +10:00
|
|
|
Features:
|
2011-07-06 03:54:20 +10:00
|
|
|
|
2011-09-12 18:13:50 +10:00
|
|
|
* UDP/TCP queries, IPv4 and IPv6;
|
|
|
|
* TSIG;
|
|
|
|
* EDNS0;
|
|
|
|
* AXFR/IXFR;
|
2012-01-12 08:01:40 +11:00
|
|
|
* DNS name compression;
|
2011-09-12 18:13:50 +10:00
|
|
|
* Client and server side programming (mimicking the http package);
|
|
|
|
* Asynchronous queries for client and server;
|
2012-01-12 08:01:40 +11:00
|
|
|
* RFC 1035 zone file parsing.
|
2010-12-29 01:44:19 +11:00
|
|
|
|
2011-02-10 22:26:26 +11:00
|
|
|
Sample programs can be found in the `_examples` directory. They can
|
|
|
|
be build with: `make examples` (after the dns package has been installed)
|
2011-01-02 08:07:47 +11:00
|
|
|
|
2010-12-29 01:44:19 +11:00
|
|
|
Have fun!
|
2011-02-10 22:26:26 +11:00
|
|
|
|
2012-01-12 08:01:40 +11:00
|
|
|
Miek Gieben - 2010-2012 - miek@miek.nl
|
2010-12-19 09:46:37 +11:00
|
|
|
|
2011-02-10 22:26:26 +11:00
|
|
|
## Supported RFCs and features include:
|
2011-01-27 19:29:11 +11:00
|
|
|
|
2011-03-10 05:41:52 +11:00
|
|
|
* 103{4,5} - DNS standard
|
2011-01-27 19:29:11 +11:00
|
|
|
* 1982 - Serial Arithmetic
|
|
|
|
* 1876 - LOC record (incomplete)
|
|
|
|
* 1995 - IXFR
|
|
|
|
* 1996 - DNS notify
|
2011-08-24 23:39:26 +10:00
|
|
|
* 2136 - DNS Update (dynamic updates)
|
2011-01-27 19:29:11 +11:00
|
|
|
* 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)
|
2011-03-10 05:41:52 +11:00
|
|
|
* 340{1,2,3} - NAPTR
|
2011-02-22 02:24:14 +11:00
|
|
|
* 3597 - Unkown RRs
|
2011-03-10 05:41:52 +11:00
|
|
|
* 403{3,4,5} - DNSSEC + validation functions
|
2011-01-27 19:29:11 +11:00
|
|
|
* 4255 - SSHFP
|
|
|
|
* 4408 - SPF
|
2011-03-22 19:44:33 +11:00
|
|
|
* 4509 - SHA256 Hash in DS
|
2011-03-14 22:28:04 +11:00
|
|
|
* 4635 - HMAC SHA TSIG
|
2011-07-29 20:24:41 +10:00
|
|
|
* 4892 - id.server
|
2011-01-27 19:29:11 +11:00
|
|
|
* 5001 - NSID
|
2011-02-10 22:26:26 +11:00
|
|
|
* 5155 - NSEC
|
2011-07-07 18:00:42 +10:00
|
|
|
* 5933 - GOST
|
2011-01-27 19:29:11 +11:00
|
|
|
* 5936 - AXFR
|
2011-07-23 07:28:04 +10:00
|
|
|
* xxxx - ECDSA
|
2010-12-22 00:41:48 +11:00
|
|
|
|
2011-02-10 22:26:26 +11:00
|
|
|
## Loosely based upon:
|
|
|
|
|
|
|
|
* `ldns`
|
|
|
|
* `NSD`
|
|
|
|
* `Net::DNS`
|
|
|
|
* `GRONG`
|