Commit Graph

108 Commits

Author SHA1 Message Date
Miek Gieben
27de9bad36 Actually parse the whole uint64 2012-11-19 12:26:13 +01:00
Miek Gieben
204a5c3981 hopefully somewhat better 2012-10-12 15:32:41 +02:00
Miek Gieben
dce8b2e71a gofmt 2012-10-10 22:17:50 +02:00
Miek Gieben
10a349423c Fix tests and tsig in the process 2012-10-09 22:45:19 +02:00
Miek Gieben
570bf8dc69 Use proper error in packing and unpacking
All the relevant functions now return an error instead of
a simple boolean. This greatly approves the feedback to coders.

Spotted some fishy error handling along the way and fix that too.
2012-10-09 21:17:54 +02:00
Miek Gieben
915781ea86 Better naming 2012-09-11 21:45:21 +02:00
Miek Gieben
9fd69abe09 struct embedding 2012-09-05 16:31:48 +02:00
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