Miek Gieben
cfc222de3d
Add Sign3
2013-05-07 10:17:01 +02:00
Miek Gieben
e1151d6edc
Update the Zone structure for NSEC and NSEC3
2013-05-07 09:44:21 +02:00
Miek Gieben
49ffb70c33
Add nsec3 stuff
2013-05-06 22:51:22 +02:00
Miek Gieben
2a79dc91a7
Remove node locks
2013-05-06 11:07:22 +02:00
Miek Gieben
77bba78ef3
Make removing work
2013-05-06 10:59:53 +02:00
Miek Gieben
aaf475fae3
In progress refactering of Remove*
2013-05-05 22:35:00 +02:00
Miek Gieben
9a80799666
Fix remaining zone.Remove* functions
...
Fix the remove function and make them more like zone.Remove()
2013-05-05 21:52:21 +02:00
Miek Gieben
6cb4f9cf69
Fix remove too
2013-05-05 21:03:34 +02:00
Miek Gieben
ba747fd510
Add some more tests
2013-05-05 20:30:39 +02:00
Miek Gieben
c38ec4ee6c
Fix signing
...
Fix the signing - the memory usage of the Zone structure is bad - and
needs to be fixed somehow.
2013-05-05 19:38:09 +02:00
Miek Gieben
76b81135e5
Update documentation
2013-05-05 09:52:37 +02:00
Miek Gieben
c798e9ca63
More Zone api changes
...
Fix the tests for the new Zone api.
2013-05-05 09:37:04 +02:00
Miek Gieben
4c7989886b
First pass at making zonedata more mem. efficient
2013-05-04 23:46:57 +02:00
Miek Gieben
9705bb8077
gofmt
2012-12-09 20:18:11 +01:00
Miek Gieben
f56b237012
Fix zonesigning branch
2012-12-09 20:16:46 +01:00
Miek Gieben
940b786161
Merge conflict resolution
2012-12-09 20:15:31 +01:00
Miek Gieben
7fb499889a
Type rename
2012-12-09 20:11:56 +01:00
Miek Gieben
235e892dfc
Rename the RR types drop the RR_ prefix
...
This is also done in the official Go library. It also make the
code shorter.
2012-12-09 19:23:25 +01:00
Miek Gieben
3609f3e7a5
gofmt -s
2012-12-09 19:07:31 +01:00
Miek Gieben
747004a724
Call it ModTime
2012-12-07 11:20:07 +01:00
Miek Gieben
9d337f7bb7
Merge branch 'zonesigning' of github.com:miekg/dns into zonesigning
2012-12-07 10:01:59 +01:00
Miek Gieben
3e29cce3ba
Check the NSEC type bitmap once
...
It's still timeconsuming, but the only way to check the
type bitmap is to iterate over the slice...
2012-12-07 09:16:43 +01:00
Miek Gieben
885aba5fad
Add mtime to the zone structure
2012-12-06 15:38:23 +01:00
Miek Gieben
ecb630cb9b
remove println
2012-12-05 16:25:11 +01:00
Miek Gieben
3049265c22
Change ZoneData.Sign to take string as first argument
...
There is no need to put the ZoneData structure in there.
2012-12-05 16:10:40 +01:00
Miek Gieben
cebeb8474d
Dont use this type at all
2012-12-05 16:07:09 +01:00
Miek Gieben
9df1f9fb62
Documentation tweaks
2012-12-05 16:03:51 +01:00
Miek Gieben
c2ab7033c4
Be more carefull when adding to the NSEC type list
2012-12-05 15:51:42 +01:00
Miek Gieben
5d369a1909
Fix resigning
2012-12-05 10:57:14 +01:00
Miek Gieben
44cf4a1abc
Revert some changes and fix zone (re)-signing
...
Signing works, but should be test. It only adds NSEC records
at the moment. NSEC3 is on the todo.
2012-12-05 10:35:46 +01:00
Miek Gieben
4bac50e3e4
Revert "Make zone.Signatures a map of a map"
...
This reverts commit f4f936e2e8
.
2012-12-05 09:27:50 +01:00
Miek Gieben
6359438615
Revert "boe"
...
This reverts commit 8c66338b8b
.
2012-12-05 09:27:42 +01:00
Miek Gieben
8c66338b8b
boe
2012-12-04 20:27:04 +01:00
Miek Gieben
f4f936e2e8
Make zone.Signatures a map of a map
2012-12-04 20:21:58 +01:00
Miek Gieben
526fbf27c9
Make it compile
2012-12-04 19:53:16 +01:00
Miek Gieben
858f602a15
Getting there
2012-12-04 16:11:54 +01:00
Miek Gieben
74cf502baf
doc. updates
2012-12-02 20:32:44 +01:00
Miek Gieben
01d40f1a63
Its NextDo()
2012-11-09 10:45:11 +01:00
Miek Gieben
93ff832d5d
use anonymous structs for the mutexes
2012-10-18 08:29:12 +02:00
Miek Gieben
31f2d2d545
docs
2012-10-17 14:00:41 +02:00
Miek Gieben
c6e75de70e
add Apex function, to access a zonesapex
2012-10-17 13:56:11 +02:00
Miek Gieben
ea947838d8
Do the TCP write in one write
...
Before the tcp writes were done like NSD does them:
2 bytes length, and the rest of the message.
Now a complete buffer is created with LLMMM...MMM, where
LL is the 2 byte length and MMM...MMM is the message to be send.
This makes the reply faster at the cost of doing a realloc of the
message buffer.
2012-10-17 12:40:57 +02:00
Miek Gieben
9ca924a069
Rename dynamic update functions (again)
...
* Use simple names and add zone Remove function for dynamic update use.
* Locking 'n stuff is all taken care off
* TSIG is working and the duplicate code is removed.
* readClient and writeClient are renamed read and write, because that is
what they do.
2012-10-16 10:41:20 +02:00
Miek Gieben
3089111fa4
calculate tsig in the normal query path too
2012-10-16 08:50:53 +02:00
Miek Gieben
89cb935efe
Rename *all* dynamic update function
...
Be more consistent with the rest of the function names. I also
started on implementinf the dynamic update function to the zone
implementation. Those names will also be in sync.
2012-10-15 16:50:39 +02:00
Miek Gieben
9ca30e3c7d
docs
2012-10-15 16:12:29 +02:00
Miek Gieben
57b0c21d09
docs
2012-10-15 13:53:32 +02:00
Miek Gieben
9441562d33
Make isSubDomain a faster function for zone
2012-10-15 13:34:29 +02:00
Miek Gieben
6d968caf7c
Fix zone.Remove
2012-10-15 09:31:14 +02:00
Miek Gieben
b8b471c012
Remove isnt working, some fixes and tests
2012-10-15 09:07:31 +02:00