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
Miek Gieben
7305ca2b58
Finish remove, also need test for signatures
2012-10-15 08:56:40 +02:00
Miek Gieben
9ab211d660
small tweaks
2012-10-12 14:03:56 +02:00
Miek Gieben
82cfe822ff
Make toRadixName much faster
...
fix bug when a escape is escaped: \\. This last dot is now a real
domain label seperator dot.
2012-10-10 12:39:45 +02:00
Miek Gieben
36af583ccf
make toRadixName much faster
...
This function is in the hotpath for query answering, so make it
as fast as possible
2012-10-10 10:56:09 +02:00
Miek Gieben
10a349423c
Fix tests and tsig in the process
2012-10-09 22:45:19 +02:00
Miek Gieben
2f107bc731
attempt for resigning and a few other tweaks
2012-09-26 15:50:51 +02:00
Miek Gieben
a624f09a4c
allow for CSK signing, by making it an option configSignature
2012-09-26 15:29:39 +02:00
Miek Gieben
10c0672a99
add uint32ToTime
2012-09-17 20:10:09 +02:00
Miek Gieben
90740a6447
Add opposite function
2012-09-17 20:01:33 +02:00
Miek Gieben
a8ab2145e0
Check the SEP bit in a key (KSK/ZSK split)
2012-09-17 18:05:46 +02:00
Miek Gieben
23852ba311
Check the SEP bit in a key (KSK/ZSK split)
2012-09-17 17:48:35 +02:00
Miek Gieben
1b4dde9c76
Revert, thanks to Zhao Xiaohong
2012-09-17 09:18:48 +02:00
Miek Gieben
c4bf438e31
more more routines
2012-09-16 18:46:40 +02:00
Miek Gieben
98f88be382
Stuff
2012-09-16 14:29:49 +02:00
Miek Gieben
2f84bc6d73
much more threads
2012-09-16 13:57:54 +02:00
Miek Gieben
7b936a92d0
not needed
2012-09-16 10:41:24 +02:00
Miek Gieben
5d33f6328c
no printing
2012-09-16 10:39:21 +02:00
Miek Gieben
cc3913f4e2
larger buffer
2012-09-14 09:09:05 +02:00
Miek Gieben
4d51efedbd
nextnext not needed
2012-09-13 11:02:06 +02:00
Miek Gieben
001f4b6d61
dont use sigData, as this will allocate a structur
...
Just send the plain radix node. This decreases the amount of
allocations
2012-09-13 10:54:38 +02:00
Miek Gieben
ddd31e3fb8
buffered channel
2012-09-13 10:28:01 +02:00
Miek Gieben
65ee21355f
Add some logging
2012-09-13 09:33:07 +02:00
Miek Gieben
cc008f94c4
Do add the DS sig
2012-09-12 23:29:19 +02:00
Miek Gieben
7d632efa19
also sign possible ds record
2012-09-12 22:41:26 +02:00
Miek Gieben
28d63a3be3
remove debugging
2012-09-12 22:12:39 +02:00
Miek Gieben
4e9bd73194
Wait for completion
2012-09-12 22:12:11 +02:00
Miek Gieben
3e1111c6b3
concurrent signing implementation
2012-09-12 21:22:28 +02:00
Miek Gieben
449c2c013d
Rename ErrXfrSoa to ErrSOA
2012-09-12 21:13:57 +02:00
Miek Gieben
7d6a9cd8a4
Fix signing and String doc
2012-09-12 19:37:28 +02:00
Miek Gieben
9e0f0ca637
sign everything
2012-09-12 16:30:05 +02:00
Miek Gieben
92d223366c
Merge branch 'v2' of github.com:miekg/dns into v2
2012-09-12 16:01:52 +02:00
Miek Gieben
e2fd873067
sign everything
2012-09-12 16:00:57 +02:00
Miek Gieben
dcc25d023b
Fix signatures
2012-09-12 15:50:53 +02:00
Miek Gieben
daab0d1d80
Fix sig incept and expir
2012-09-12 12:57:50 +02:00
Miek Gieben
1751b8d753
more stuff
2012-09-11 22:00:19 +02:00
Miek Gieben
e70e40095b
More signing fixes
2012-09-11 21:36:18 +02:00
Miek Gieben
8197a61648
sort bitmap of the nsec
2012-09-11 21:13:25 +02:00