169 Commits

Author SHA1 Message Date
Miek Gieben
9ac8d2d7de RequestWriter can go too 2012-08-06 20:09:45 +02:00
Miek Gieben
7de64f0dda remove all the async query stuff in favor of the new Do() 2012-08-06 20:08:48 +02:00
Miek Gieben
f090b34c40 Use the new api - now on to fixing Tsig 2012-08-06 20:03:46 +02:00
Miek Gieben
e628564f33 Fix attempts in the client 2012-08-05 18:36:36 +02:00
Miek Gieben
51e13a15c9 snapshot 2012-08-05 18:13:23 +02:00
Miek Gieben
a113c7acd8 bug fix 2012-07-05 15:37:06 +02:00
Miek Gieben
6930a3a307 Tweaks for get a secure lookup going 2012-06-05 09:31:50 +02:00
Miek Gieben
53b065793b More preparation for the root 2012-06-03 09:35:39 +02:00
Miek Gieben
bb376b18b3 Add size received to a pkt 2012-06-01 10:05:27 +02:00
Miek Gieben
530d66a85b Set the channels in Do() 2012-05-26 12:02:37 +02:00
Miek Gieben
9c4c5f5369 remove NewClient from the code 2012-05-26 10:28:32 +02:00
Miek Gieben
458a74b8ce remove the need for NewClient() 2012-05-26 10:24:47 +02:00
Miek Gieben
eb7b7c9745 fix udp/udp4/udp6 2012-05-22 20:15:30 +02:00
Miek Gieben
da983acc37 documentation 2012-05-22 20:14:15 +02:00
Miek Gieben
c84b165dee fix examples 2012-05-22 08:51:30 +02:00
Miek Gieben
f3bb703019 gofmt 2012-05-22 08:48:26 +02:00
Miek Gieben
3e607a3c64 again better naming 2012-05-22 08:47:47 +02:00
Miek Gieben
fac9182aa6 better names 2012-05-21 22:06:58 +02:00
Miek Gieben
06d424549e Make the default async queries more simpler to use
If you don't want to setup your own channels things should
now be simpler. Still the power for eleborate setups is there.
2012-05-21 20:58:41 +02:00
Miek Gieben
37a8bdfec0 use default Incoming channel 2012-05-21 20:18:13 +02:00
Miek Gieben
39bfd06e0f create default reply chan 2012-05-21 19:44:01 +02:00
Miek Gieben
6d9ac0b3de Force v6 or v4 2012-05-21 15:45:26 +02:00
Miek Gieben
4ec99b2dec Fix examples 2012-05-21 14:56:14 +02:00
Miek Gieben
0ff492af57 fix documentation 2012-05-18 19:41:20 +02:00
Miek Gieben
95c1154930 documentation 2012-05-08 14:17:17 +02:00
Miek Gieben
b37c5b4646 more documenation 2012-05-08 14:01:58 +02:00
Miek Gieben
2574856aa6 Add RemoteAddr() to the RequestWriter interface 2012-05-08 13:51:12 +02:00
Miek Gieben
1abdeb80b4 docs 2012-05-07 15:53:35 +02:00
Miek Gieben
3989e8df9c Create a exchangefull 2012-05-07 15:50:13 +02:00
Miek Gieben
fdc0d6924d Documentation 2012-05-05 20:47:23 +02:00
Miek Gieben
c96d86da1f Add remote address too 2012-05-05 17:37:33 +02:00
Miek Gieben
d36ee08216 Fix all the examples 2012-05-05 16:09:57 +02:00
Miek Gieben
86b08d4a0e Slight tweaks 2012-05-05 10:01:56 +02:00
Miek Gieben
ed1c8fa812 Put the rrt info the Exchange struct 2012-05-05 09:56:45 +02:00
Miek Gieben
fc599d23fe Save rtts for clients 2012-05-04 23:18:29 +02:00
Miek Gieben
874787c537 Allow deregistration of handler
Implemented in both the server and client.
Renamed to client function to match the server side functions
Example progs need to be "ported" as this *is* an API change.
2012-03-26 23:15:15 +02:00
Miek Gieben
c53cddf38c TSIG overhauled
This lead to some changes in the Write() function. Both
server side and client side are now more similar.
2012-03-04 21:00:09 +01:00
Miek Gieben
2806def5c0 document the interface better 2012-03-04 14:53:57 +01:00
Miek Gieben
1744a80850 add a TsigStatus to the client as well
Bring server and client side more inline
with each other. For a client we also
use TsigStatus() to retrieve the tsig info.
2012-03-04 14:47:20 +01:00
Miek Gieben
c5465127f3 Fix non tsig queries 2012-03-02 21:19:37 +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
fd6bdd4bba Elegant Tsig handling in the server
Lowlevel, but flexible. i.e. usable when building a server
2012-02-26 22:38:15 +01:00
Miek Gieben
f7f1d2ab42 Add listenAndServerTsig function 2012-02-26 21:33:50 +01:00
Miek Gieben
485c7e7a41 Fix some outstanding todos 2012-02-25 21:42:08 +01:00
Miek Gieben
93246f458e Fix error handling and TC bit 2012-02-24 23:43:34 +01:00
Miek Gieben
77b60231e7 If we add a dot to a name, be sure to remove one from the length 2012-02-05 11:33:55 +01:00
Miek Gieben
f1542e15d9 use edns0 udpsize in to set the buffer 2012-01-29 00:20:56 +01:00
Miek Gieben
ff55b5253a Updates for the latest weekly: weekly.2012-01-27 2012-01-27 08:39:41 +01:00
Miek Gieben
e6b94db3b2 Just set all the deadlines 2012-01-24 10:06:39 +01:00
Miek Gieben
48d11d3a17 Use Client.Attemps also when reading 2012-01-23 20:35:14 +01:00