Commit Graph

101 Commits

Author SHA1 Message Date
Miek Gieben e4fb00c34d Fix handling of non fully qualified domain names
When PackDomain sees such a name it calls panic.
All panic now use the prefix 'dns:'
2012-08-28 18:21:23 +02:00
Miek Gieben 68961f2f5b Make the IsTsig and IsEdn0 more usefull by returning the record 2012-08-25 11:24:01 +02:00
Miek Gieben 845f4a6992 dont export - minimize api 2012-08-24 12:42:41 +02:00
Miek Gieben b96e6ac78d tweaks to the documentation 2012-08-24 09:35:33 +02:00
Miek Gieben b0fc5a2f22 re-export these - I use them in unbound 2012-08-20 18:03:15 +02:00
Miek Gieben 1687a13438 Further minimize the lib 2012-08-20 09:39:10 +02:00
Miek Gieben 7b406f80ce dont export 2012-08-17 08:34:46 +02:00
Miek Gieben b1140cec5f dont export 2012-08-17 08:34:17 +02:00
Miek Gieben 20c84a80a7 Fix documentation 2012-08-08 09:50:07 +02:00
Miek Gieben 755bb11fde update the documentation 2012-08-08 09:26:29 +02:00
Miek Gieben 2d2b4f5e64 tweaks to give more power to unbound package 2012-07-01 20:58:54 +02:00
Miek Gieben 534433a714 gofmt -w 2012-06-20 20:16:36 +02:00
Miek Gieben e6fca0be3f Actually copy the RR for DNSSEC validation.
This is needed because we need to fiddle with the TTL and sometimes
even need to lowercase the rdata. We dont want this to propagate
to the original RRs
2012-06-20 19:16:54 +02:00
Miek Gieben 01442e58af more Copy() functions 2012-06-20 17:44:18 +02:00
Miek Gieben 9c4c5f5369 remove NewClient from the code 2012-05-26 10:28:32 +02:00
Miek Gieben 983d979698 Some documentation fixes and origid is not needed in tsig 2012-05-18 19:59:07 +02:00
Miek Gieben 95c1154930 documentation 2012-05-08 14:17:17 +02:00
Miek Gieben 3611c4d458 fmt 2012-05-05 17:37:48 +02:00
Miek Gieben 1948cd2a90 Use go vetted struct tags
They had the form: "domain-name", now they are key value pairs (key is
always dns: `dns:"domain-name"`
2012-04-29 21:55:29 +02:00
Miek Gieben cafc55543b Fix the tsig documentation 2012-03-06 19:10:49 +01:00
Miek Gieben 9043e34c06 TSIG with request MAC is working 2012-03-05 22:03:18 +01:00
Miek Gieben 4f7000d1f6 Update the readme 2012-03-04 16:35:21 +01:00
Miek Gieben 9cbe439ce3 Fix tsig 48 bits timer 2012-03-02 23:12:23 +01:00
Miek Gieben e1873c28bc move tsig to tsig.go just as RR_OPT 2012-03-02 23:07:25 +01:00
Miek Gieben 63001dd590 documentation tsig 2012-03-02 22:59:07 +01:00
Miek Gieben ed396cedfb documentation 2012-03-02 22:47:58 +01:00
Miek Gieben c5465127f3 Fix non tsig queries 2012-03-02 21:19:37 +01:00
Miek Gieben 061d292118 TSIG document 2012-03-02 20:18:18 +01:00
Miek Gieben dc16392734 Newly allocated names 2012-03-02 15:28:22 +01:00
Miek Gieben 3232814d1b Fix client side TSIG
Redesign of TSIG. Validation is on the TOOD - this can be
done in the same way as in the server.
2012-03-01 22:40:34 +01:00
Miek Gieben fb8858502b prepare for tsig 2012-02-29 22:00:39 +01:00
Miek Gieben 44213c5f39 Add TODO documentation 2012-02-27 21:39:14 +01:00
Miek Gieben 09ac6c8dc5 gofmt 2012-01-28 00:35:37 +01:00
Miek Gieben 22d431b56a tsig without the typos 2012-01-26 20:27:30 +01:00
Miek Gieben 48fa998539 Implement the other algorithms in tsig 2012-01-26 20:23:43 +01:00
Miek Gieben 5917838cbb gofmt 2012-01-20 12:24:20 +01:00
Miek Gieben ff25c3a674 Fixes for weekly.2012-01-20 2012-01-20 12:21:15 +01:00
Miek Gieben 9f3a1c1f13 Documentation and make ParseKey private (parseKey) 2012-01-16 21:44:49 +01:00
Miek Gieben 5a7fb7a15f Documentation 2012-01-15 16:09:17 +01:00
Miek Gieben f1a3b31384 Make a packStructCompress() to leave packStruct() simpler 2012-01-11 20:33:38 +01:00
Miek Gieben eafe995a56 Add a compression flag to msg struct 2012-01-11 20:26:39 +01:00
Miek Gieben 974c28d1b1 More fixes for compression 2012-01-11 11:13:17 +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 6f78219c22 Documentation updates 2011-09-11 20:47:25 +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 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 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