Commit Graph

887 Commits

Author SHA1 Message Date
Miek Gieben 406edadf20 Make the tests compile again 2011-09-10 21:22:42 +02:00
Miek Gieben c9332fad8c remove client.Dial/Close
Was a hack to make qperf faster
2011-09-10 21:12:46 +02:00
Miek Gieben befa590883 Double check this 2011-09-10 16:59:25 +02:00
Miek Gieben 6e72207318 Simplify tsig
Add a couple of errors, and make the function signature
of the tis function more inline with the dnssec ones.
2011-09-10 16:50:27 +02:00
Miek Gieben caf69b662c Add Ixfr back in
Fix ixfr. Don't be smart about iterpreting the ixfr itself,
just funnel the packets back to the client, but do obey the
ixfr algorithm
2011-09-10 16:49:22 +02:00
Miek Gieben d367484d6f move the code around 2011-09-10 14:59:21 +02:00
Miek Gieben bec4153541 slight updates to the TODO 2011-09-10 14:48:22 +02:00
Miek Gieben 19bf874769 Use a new type to send back request,answer
a type Exchange has been added, which makes communicating with
the resolver more strait forward.

This will also be used in the *xfr functions.
2011-09-10 14:26:08 +02:00
Miek Gieben b7ca96e7d4 Normalize errors
Use the errors as defined in msg.go and a few.
2011-09-09 10:21:04 +02:00
Taral 22cd1ba11f Make nsec3.go compile 2011-09-08 12:54:48 -07:00
Taral 24a912919f Change Sign() and Verify() to return more useful os.Error 2011-09-08 12:14:41 -07:00
Taral 220ad18ded Remove redundant sorting and fix small error 2011-09-08 12:14:06 -07:00
Taral ca33c9ad0e Add sorting to DNSSEC signature verify 2011-09-08 12:14:06 -07:00
Miek Gieben 2de43f486f documentation 2011-09-08 19:41:26 +02:00
Miek Gieben e8b68c8621 documentation 2011-09-08 19:35:02 +02:00
Miek Gieben ec11e6abd3 documentation 2011-09-08 19:28:00 +02:00
Miek Gieben c104ee05b8 documentation updates 2011-09-08 19:25:45 +02:00
Miek Gieben 6034016b29 tweak the documentation a bit 2011-09-08 08:30:17 +02:00
Miek Gieben 7897c8f088 Add RSASHA1NSEC3SHA1 alg
From Taral <taralx@gmail.com>
2011-09-08 08:26:40 +02:00
Miek Gieben fa34fe67ca move around the get/set methods 2011-09-02 14:28:40 +02:00
Miek Gieben 3c9412d7f0 comments 2011-09-02 14:01:55 +02:00
Miek Gieben bcdd140924 Disable the ns target 2011-09-02 13:46:57 +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 74095fb85a I do not have use for zone structures yet 2011-09-02 13:02:29 +02:00
Miek Gieben 340c3e605c Return returned stuff on a channel 2011-09-01 21:35:43 +02:00
Miek Gieben d59c57364a doc 2011-09-01 08:35:08 +02:00
Miek Gieben 00bd39bc12 Use RawSetId here 2011-08-24 15:52:53 +02:00
Miek Gieben 6eabda897c typo 2011-08-24 15:44:09 +02:00
Miek Gieben 7aa11e5d3e add panics to update if q section is empty 2011-08-24 15:39:26 +02:00
Miek Gieben 6751a16313 Fix the all the update operations 2011-08-22 15:43:52 +02:00
Miek Gieben 7195ce739c Need to think about naming 2011-08-22 15:35:52 +02:00
Miek Gieben 1ebb11deaf More dyn update stuff 2011-08-22 15:16:24 +02:00
Miek Gieben 9fcbef5edc Add dynamic update support 2011-08-22 14:51:10 +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 6eb42504c4 typo 2011-08-22 13:06:34 +02:00
Miek Gieben 3ce319eb8b Add IsQuestion 2011-08-22 12:52:13 +02:00
Miek Gieben aaf4af6401 add: setUpdate to create update packets 2011-08-22 10:29:39 +02:00
Miek Gieben 146845ebde Re-use socket for udp 2011-08-10 14:11:53 +02:00
Miek Gieben 46399602a0 update the todo 2011-08-09 16:14:47 +02:00
Miek Gieben 0f1d52d66c Play with compression-like zone structures 2011-08-09 15:56:00 +02:00
Miek Gieben 7cd58b1700 start with zone compression 2011-08-09 15:24:53 +02:00
Miek Gieben 41b0b39432 tcp fixes 2011-08-09 15:13:35 +02:00
Miek Gieben 8a82f129c0 tcp fixes 2011-08-09 15:01:29 +02:00
Miek Gieben 44d3cc7daf kill another make() 2011-08-09 13:15:25 +02:00
Miek Gieben c37686a724 remove len(s) from the fastpath 2011-08-09 11:41:44 +02:00
Miek Gieben 100f8ef7eb Remove len(msg) in favor of a variable with that value 2011-08-09 10:54:58 +02:00
Miek Gieben 1053090121 performace tweaks 2011-08-09 10:29:30 +02:00
Miek Gieben da5d2e91a8 Remove another small allocation 2011-08-09 10:16:45 +02:00
Miek Gieben e575e8c6f7 minor additions 2011-08-08 16:49:51 +02:00