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
a811e314c0
small tweaks to the readme
2012-10-17 09:06:49 +02:00
Miek Gieben
1cca340f0b
Use attemps also in the dial function
2012-10-17 09:05:26 +02:00
Miek Gieben
bf1e1e15dc
docs
2012-10-16 19:14:03 +02:00
Miek Gieben
60d891eba6
put const here
2012-10-16 13:48:43 +02:00
Miek Gieben
56221057d3
exchangeBuffer was and is not needed
2012-10-16 13:18:59 +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
d8dc03bdba
Merge branch 'tsig'
2012-10-16 09:51:35 +02:00
Miek Gieben
be0423d80f
Tsig for queries is working again
2012-10-16 09:42:38 +02:00
Miek Gieben
2d3630ac98
refacter the client code a bit and remove the duplicate code
2012-10-16 09:36:52 +02:00
Miek Gieben
3089111fa4
calculate tsig in the normal query path too
2012-10-16 08:50:53 +02:00
Miek Gieben
bd435eb824
Small tweak
2012-10-15 20:36:02 +02:00
Miek Gieben
68456edeca
Merge pull request #31 from polvi/edns_update_lease
...
initial stab at edns update lease http://files.dns-sd.org/draft-sekar-dn ...
2012-10-15 11:33:19 -07:00
Miek Gieben
d6a1321fdf
Fix q for ipv6
2012-10-15 20:07:53 +02:00
Miek Gieben
39b9f93167
Fix tsig in the normal sending of queries
2012-10-15 20:00:49 +02:00
Alex Polvi
ec8d3d51d1
initial stab at edns update lease http://files.dns-sd.org/draft-sekar-dns-ul.txt
2012-10-15 18:37:19 +01:00
Miek Gieben
38af8973f7
Fix ip6 syntax
2012-10-15 19:02:25 +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
878955c688
fmt
2012-10-15 16:12:37 +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
8c1983d636
again we are faster
2012-10-15 13:44:18 +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
76d5d8493f
Add zone test from Alex Polvi
2012-10-15 08:12:49 +02:00
Miek Gieben
0069ce218a
docs
2012-10-14 11:30:08 +02:00
Miek Gieben
204a5c3981
hopefully somewhat better
2012-10-12 15:32:41 +02:00
Miek Gieben
df57d1219e
be more userfriendly
2012-10-12 15:22:59 +02:00
Miek Gieben
006fae01d1
added 1.0 as version
2012-10-12 14:20:43 +02:00
Miek Gieben
3560da6104
conn is gone
2012-10-12 14:18:01 +02:00
Miek Gieben
9ab211d660
small tweaks
2012-10-12 14:03:56 +02:00
Miek Gieben
ba40d60ce7
fix v6 ip presentation.
...
Also fix the parsing from /etc/resolv.conf and make it simpler
in the process.
2012-10-12 10:53:38 +02:00
Miek Gieben
9159265f01
nicer layout
2012-10-12 09:13:09 +02:00
Miek Gieben
e7bb4f569e
doc
2012-10-12 09:09:28 +02:00
Miek Gieben
d1b5e45c07
documentation
2012-10-12 09:06:17 +02:00
Miek Gieben
a2a405eb2d
documentation
2012-10-12 09:01:40 +02:00
Miek Gieben
e26a078829
Merge pull request #29 from polvi/master
...
one liner fix in demo reflect server to support tsig
2012-10-11 23:56:29 -07:00
Alex Polvi
3c400d481d
fix typo to use tsig in reflect demo server
2012-10-11 22:27:12 +01:00
Miek Gieben
3c5c9da8be
we already know the length of message
2012-10-11 13:06:27 +02:00
Miek Gieben
c5f0ecbdd8
in case of error do get the exact tag
2012-10-11 12:58:43 +02:00
Miek Gieben
6e43b3b666
Remove Tag.Get() and just look at the raw strings
2012-10-11 12:57:08 +02:00
Miek Gieben
dce8b2e71a
gofmt
2012-10-10 22:17:50 +02:00
Miek Gieben
7ca43a2a3f
no nill message
2012-10-10 21:09:33 +02:00
Miek Gieben
fdd3e70f19
Older version back
2012-10-10 21:09:11 +02:00
Miek Gieben
506a4237e5
no nil checks
2012-10-10 21:00:47 +02:00