1411 Commits

Author SHA1 Message Date
Miek Gieben
8582967bab enforce the keysize 2011-01-13 08:48:05 +01:00
Miek Gieben
4109a032b9 more stuff 2011-01-12 16:41:17 +01:00
Miek Gieben
1ee22eb579 more happy with the interface 2011-01-12 16:33:56 +01:00
Miek Gieben
a2ef425b84 doc updates 2011-01-12 00:30:42 +01:00
Miek Gieben
0130dde9f9 Figured out API for server side stuff 2011-01-12 00:20:05 +01:00
Miek Gieben
57b1e2f714 First stab at server support
Cherry pick GRONG for the server stuff (only server.go) seems
interesting.

Still working on the responder idea of GRONG and how to implement
it in godns
2011-01-11 23:33:07 +01:00
Miek Gieben
586337bf57 Remove zlutser 2011-01-11 20:24:20 +01:00
Miek Gieben
99d40351b8 Put GRONGs responder here 2011-01-11 09:55:01 +01:00
Miek Gieben
222d01625c Fix presentation for NSEC3 2011-01-10 16:18:01 +01:00
Miek Gieben
578304226f Add dnskey gen for RSA keys 2011-01-10 16:10:15 +01:00
Miek Gieben
69f9bc6ecd Start packing nsec/nsec3 typeBitMap 2011-01-09 22:51:36 +01:00
Miek Gieben
d3f9bbe2c9 Set order correctly 2011-01-09 22:06:24 +01:00
Miek Gieben
7da3d0bcb7 Fix the NSEC(3) bitmap 2011-01-09 22:02:25 +01:00
Miek Gieben
15fedf72e7 nsec type list must be uint16 2011-01-09 20:46:21 +01:00
Miek Gieben
44999ab9e7 Merge branch 'master' of github.com:miekg/godns 2011-01-09 20:07:44 +01:00
Miek Gieben
232b6e62a5 re-add tests 2011-01-09 20:07:13 +01:00
Miek Gieben
4f8537dde2 incorp. in the main dns package 2011-01-09 20:00:37 +01:00
Miek Gieben
42ce4d3085 Fix tsig -- needs testing 2011-01-09 15:54:23 +01:00
Miek Gieben
a6fee19f4c Fix tsig by making timeSigned a 64 bit int
only use the lower 48 bits to make it all work
2011-01-09 15:30:45 +01:00
Miek Gieben
42660c2a8e fix up the rest 2011-01-09 10:34:29 +01:00
Miek Gieben
19edd05274 Fold dnssec back into dns
It is more natural. Otherwise tsig and tkey needed to be
put in their own packages
2011-01-09 10:31:23 +01:00
Miek Gieben
5ef9f57db4 some minor updates 2011-01-09 00:12:59 +01:00
Miek Gieben
ac687f284a Tsig
* add some testcases for tsig
* add unpack/pack stuff -- doesn't work correctly yet
2011-01-09 00:11:22 +01:00
Miek Gieben
11a1c753a8 Pack a uint48 as a [3]uint16 2011-01-08 23:47:24 +01:00
Miek Gieben
1b39853f03 tsig generation; first stab 2011-01-08 22:39:15 +01:00
Miek Gieben
b2e9fc8d84 Added TSIG
By defining a new struct I can re-use all the nice
stuff in msg.go
2011-01-08 21:51:20 +01:00
Miek Gieben
c6655f6e6d No newline in the OPT record 2011-01-08 19:45:59 +01:00
Miek Gieben
91cc627bcf tweaks to the todo 2011-01-08 19:28:59 +01:00
Miek Gieben
51a3e06b53 Fix and cleanup DNSSEC code
Key extraction is the same for all RSA DNSKEYs, so all RSA keys
are handled. Even the older RSAMD5 is now supported.
2011-01-08 19:10:47 +01:00
Miek Gieben
fc8e6345af Fix examples and add notify prog
Show how simple a dns-notify becomes.
2011-01-08 13:46:51 +01:00
Miek Gieben
b5de7e1745 Fix the testsuite 2011-01-07 10:09:46 +01:00
Miek Gieben
8b2c267b99 update todo 2011-01-06 15:30:18 +01:00
Miek Gieben
0040c9b30e More convience functions 2011-01-06 15:24:18 +01:00
Miek Gieben
7888cd96b8 edns ala dig
use the OPT pseudo header for NSID, ala bind
2011-01-06 15:06:06 +01:00
Miek Gieben
a5100db599 Complete fix NSID
parsing/reading and setting al work now
2011-01-06 14:58:58 +01:00
Miek Gieben
08b6220c67 Make the edns api more Go like
Split the set/get function to a SetX() and X()
2011-01-06 10:24:00 +01:00
Miek Gieben
b57613e8d8 Fix the examples so that they work with a nonresponding nameserver
Added some error checking
2011-01-03 12:30:19 +01:00
Miek Gieben
659fc455ba better error handling 2011-01-03 12:18:17 +01:00
Miek Gieben
4592abaeec fix TODO 2011-01-03 11:34:54 +01:00
Miek Gieben
97506dafe4 Fix the error handling
Added new type (copied from net package) dns.Error that carries
all errors
2011-01-03 11:29:04 +01:00
Miek Gieben
d4059485d5 Add even more rcodes 2011-01-03 10:44:00 +01:00
Miek Gieben
b052387f0d Can go 2011-01-02 20:08:48 +01:00
Miek Gieben
df4dde5ad5 Add a zlutser program
validate an rrsig without checking the chain of trust
2011-01-02 20:07:45 +01:00
Miek Gieben
ffe027b4b9 Its validating 2011-01-02 16:37:29 +01:00
Miek Gieben
e1d0db4107 remove the variable here 2011-01-01 22:40:55 +01:00
Miek Gieben
84dfab0d7f more more more 2011-01-01 22:07:47 +01:00
Miek Gieben
0d1c52216b remove exe 2011-01-01 22:06:56 +01:00
Miek Gieben
2b3b9e349b fix readme 2011-01-01 22:05:37 +01:00
Miek Gieben
9976029ca6 Add install script for installation
Fix the examples for the new api
2011-01-01 22:03:41 +01:00
Miek Gieben
3a15a6534b update the todo 2011-01-01 21:40:37 +01:00