Miek Gieben
081166db5e
Fix the tests (Again) + NewRR(str)
...
Parse tests start to get working again
NewRR reads a string and is the easiest way to get an RR
in your code.
2011-12-15 17:37:07 +01:00
Miek Gieben
b73eaf020b
Fix incep,expir date representation in rrsigs
2011-12-15 12:41:24 +01:00
Miek Gieben
32a879d970
New parsing works, but a lot of stuff needs to be fixed:
...
* Parsing the different records
* Parsing private key files (trivial, but needs to be done)
2011-12-14 11:30:29 +01:00
Miek Gieben
131f6962d1
gofmt
2011-12-09 21:45:57 +01:00
Miek Gieben
17d3f12d31
Fix NSEC presentation
2011-12-09 16:11:37 +01:00
Miek Gieben
e115e5da6e
Update to the latest weekly: weekly/weekly.2011-12-06
...
The new time API must still be used. But for now it compiles.
All DNSSEC/TSIG timing is probably broken
2011-12-09 11:16:49 +01:00
Miek Gieben
22a467e718
Fixes the latest weekly
2011-11-02 23:06:54 +01:00
Miek Gieben
f252e2f3f0
Add documentation and fix the tests for TSIG
...
Everything is working, I get a complete TSIG verified AXFR from
miek.nl.
2011-09-11 01:37:06 +02:00
Miek Gieben
31b2aec24e
Parse differently
...
Returned each parsed RR on a channel and let the caller decide what
to do with it.
Ragel is still broken, so this is non tested code.
2011-09-02 13:44:35 +02:00
Miek Gieben
8c5049bd06
Add actual type any as RR_ANY
2011-08-22 14:13:43 +02:00
Miek Gieben
18596dd3f8
Use typeANY, not typeALL
2011-08-22 14:11:41 +02:00
Miek Gieben
0d917b3c92
accept an uint16, not an int
2011-08-08 10:35:16 +02:00
Miek Gieben
27948bb9f9
Use uint16 instead of int
2011-08-04 15:13:10 +02:00
Miek Gieben
b2a6356596
Fix opt pseudo section stuff
2011-07-25 11:24:26 +02:00
Miek Gieben
282feff62e
add NSEC3PARAM
2011-07-24 21:40:04 +02:00
Miek Gieben
00f8254ae1
Fix parsing of RRSIGs
2011-07-24 21:29:16 +02:00
Miek Gieben
4671072027
Error handling
...
Handle semantic errors in the input stream.
Try to use Ragel's error handling when seeing a non-supported
class. This does not work yet.
2011-07-24 17:08:33 +02:00
Miek Gieben
da0603089a
gofmt -w
2011-07-23 23:43:43 +02:00
Miek Gieben
9b1e7b4b3d
documentation
...
make Str_rr and Str_class private, prolly only needed
for parsing
2011-07-23 23:15:40 +02:00
Miek Gieben
0dcfa0b427
Kill SetString
...
Create a NewRR that creates a new RR from a string.
FIx the tests to relfect this
2011-07-23 22:26:50 +02:00
Miek Gieben
31ab707ea6
make it simpler
2011-07-23 09:21:24 +02:00
Miek Gieben
2a8d7f9694
Make the API more Go like
2011-07-22 23:28:04 +02:00
Miek Gieben
b03994e257
NSEC and NSEC3 parsing support
...
Needs some work, but it is working
2011-07-22 20:23:36 +02:00
Miek Gieben
7c716e66c0
Parsing zone files - does not work (yet)
2011-07-18 20:47:03 +02:00
Miek Gieben
e50100848c
Fix parsing of AAAA records
2011-07-18 17:40:55 +02:00
Miek Gieben
91b41d02bb
SetString for DNSKEY and RRSIG
2011-07-18 15:49:20 +02:00
Miek Gieben
2eecc66477
SetString() for a bunch of RR - to be extended
2011-07-18 15:19:47 +02:00
Miek Gieben
4c55428a6e
add ClassNONE (254)
2011-03-25 11:49:52 +01:00
Miek Gieben
8aa88a0bd3
normalize errors
2011-03-25 11:19:35 +01:00
Miek Gieben
9bc0f3ed6b
More TSIG stuff
2011-03-21 10:51:28 +01:00
Miek Gieben
0a742210ca
Add DHCID record
2011-03-13 13:11:11 +01:00
Miek Gieben
e585cbf8f4
Add KX record
2011-03-13 13:04:54 +01:00
Miek Gieben
94b98a5766
Add nsec3 hashing (non working atm)
2011-03-07 22:47:20 +01:00
Miek Gieben
8495bccee4
Fix printing of unknown rrs
2011-03-04 17:30:29 +01:00
Miek Gieben
5c6f9f613e
implement parsing of longer (>255) txt records
2011-02-28 10:28:07 +01:00
Miek Gieben
98e4b33cb5
formatting and documentation
2011-02-24 16:22:14 +01:00
Miek Gieben
77348913dd
Update the documentation
2011-02-24 16:13:23 +01:00
Miek Gieben
266ed16e72
refactor the rrset to signedata function
2011-02-24 15:29:36 +01:00
Miek Gieben
b19fa97c1d
Add URI RR type - type just got allocated number 256
2011-02-23 09:11:03 +01:00
Miek Gieben
839f6bf901
Unknown rrs in type bitmap for nsec3
2011-02-21 16:21:16 +01:00
Miek Gieben
d127ce7931
Unknown rrs in type bitmap for nsec
2011-02-21 16:20:24 +01:00
Miek Gieben
a90533a13f
implement unknown RRs
...
RFC3597 - unknown rr are implemented. Currently Go dns
needs to now the type code, but must lack the actual implementation
of that type.
See IPSECKEY as an example.
2011-02-21 15:57:15 +01:00
Miek Gieben
f082cd36ca
unknown dns as type
2011-02-21 15:19:52 +01:00
Miek Gieben
1743555d07
add TALINK
2011-02-21 13:24:45 +01:00
Miek Gieben
65c4282944
add TA and DLV records
2011-02-21 13:16:07 +01:00
Miek Gieben
d87e7eff86
support nsec3 and nsec3param
2011-02-03 20:39:43 +01:00
Miek Gieben
d9dfd913a7
documentation updates
2011-01-27 09:29:11 +01:00
Miek Gieben
bdde78ff2f
TSIG works
2011-01-26 15:13:06 +01:00
Miek Gieben
3699c21a53
added SPF
2011-01-25 14:07:01 +01:00
Miek Gieben
7e1f9490f2
Cert RR added
...
PubKey is named PublicKey in the RR_DNSKEY
2011-01-25 13:57:54 +01:00