Commit Graph

902 Commits

Author SHA1 Message Date
Miek Gieben 6f78219c22 Documentation updates 2011-09-11 20:47:25 +02:00
Miek Gieben 6ef13c3cbd Start thinking about server side axfr 2011-09-11 17:24:52 +02:00
Miek Gieben d814a20623 test multiple messages 2011-09-11 17:01:55 +02:00
Miek Gieben 1f03789dcb edns0 helper funtions 2011-09-11 13:01:18 +02:00
Miek Gieben 5352363707 SetEdns0 helper function 2011-09-11 12:57:06 +02:00
Miek Gieben 0f609697b9 Fix time checking in TSIG 2011-09-11 12:41:54 +02:00
Miek Gieben ab911d41f9 Small tweaks 2011-09-11 01:42:46 +02:00
Miek Gieben 74935417e6 Remove dead code from the test 2011-09-11 01:37:59 +02: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 3be73fcea9 Tsig fixes
make tsig easier to use and even transparant when using the API
2011-09-11 01:10:47 +02:00
Miek Gieben 356b532385 Things start to work again. Now axfr and tsig 2011-09-11 00:33:13 +02:00
Miek Gieben e4acc12f44 Remove debugging code 2011-09-11 00:32:00 +02:00
Miek Gieben 313640276f Make async querying work again 2011-09-11 00:31:03 +02:00
Miek Gieben cd17a26192 Give the channels more sane names
Rename ChannelQuery to QueryChan and
ChannelReply to ReplyChan, both sound much better
2011-09-11 00:20:44 +02:00
Miek Gieben c939840fb2 Fix the examples
Esp. those using xfr functions
2011-09-10 21:37:57 +02:00
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