Miek Gieben
2f74133d6a
More test functions
...
Minor tweaks for timeouts in client.go
2011-09-20 18:15:36 +02:00
Miek Gieben
956ec9b962
set the timeouts
2011-09-20 17:40:13 +02:00
Miek Gieben
850a12ac8e
Return a error when there is no conn, dont panic
2011-09-20 10:20:24 +02:00
Miek Gieben
3be73fcea9
Tsig fixes
...
make tsig easier to use and even transparant when using the API
2011-09-11 01:10:47 +02:00
Miek Gieben
e4acc12f44
Remove debugging code
2011-09-11 00:32:00 +02:00
Miek Gieben
313640276f
Make async querying work again
2011-09-11 00:31:03 +02:00
Miek Gieben
cd17a26192
Give the channels more sane names
...
Rename ChannelQuery to QueryChan and
ChannelReply to ReplyChan, both sound much better
2011-09-11 00:20:44 +02:00
Miek Gieben
c939840fb2
Fix the examples
...
Esp. those using xfr functions
2011-09-10 21:37:57 +02:00
Miek Gieben
c9332fad8c
remove client.Dial/Close
...
Was a hack to make qperf faster
2011-09-10 21:12:46 +02:00
Miek Gieben
befa590883
Double check this
2011-09-10 16:59:25 +02:00
Miek Gieben
6e72207318
Simplify tsig
...
Add a couple of errors, and make the function signature
of the tis function more inline with the dnssec ones.
2011-09-10 16:50:27 +02:00
Miek Gieben
bec4153541
slight updates to the TODO
2011-09-10 14:48:22 +02:00
Miek Gieben
19bf874769
Use a new type to send back request,answer
...
a type Exchange has been added, which makes communicating with
the resolver more strait forward.
This will also be used in the *xfr functions.
2011-09-10 14:26:08 +02:00
Miek Gieben
41b0b39432
tcp fixes
2011-08-09 15:13:35 +02:00
Miek Gieben
8a82f129c0
tcp fixes
2011-08-09 15:01:29 +02:00
Miek Gieben
44d3cc7daf
kill another make()
2011-08-09 13:15:25 +02:00
Miek Gieben
7d2aabea76
re-add qperf
2011-08-08 16:29:13 +02:00
Miek Gieben
861a2adb6c
Forget to the add the i := fv.Uint()
2011-08-08 13:10:35 +02:00
Miek Gieben
a44eb54de2
put defer back in
2011-08-04 13:59:15 +02:00
Miek Gieben
1032e7593f
defer add a small performance penalty
2011-08-04 13:49:40 +02:00
Miek Gieben
c170e0bbaa
Eliminate allocations when using ExchangeBuffer()
2011-08-04 13:17:36 +02:00
Miek Gieben
069c5237f5
added
2011-08-04 11:27:56 +02:00
Miek Gieben
327c9870c4
Fix funkensturm and make it simpler
2011-08-01 13:15:15 +02:00
Miek Gieben
faaf0d6b8f
better documentation
2011-07-31 14:33:13 +02:00
Miek Gieben
da0603089a
gofmt -w
2011-07-23 23:43:43 +02:00
Miek Gieben
a0b011799e
documentation
2011-07-23 23:32:42 +02:00
Miek Gieben
6e7a5dd725
funkensturm compiles, but is slow for some reason
2011-07-06 19:21:19 +02:00
Miek Gieben
7033f6abbe
Addr is not needed in the Client struct
2011-07-06 17:39:24 +02:00
Miek Gieben
81c4befb1e
docs
2011-07-05 21:58:09 +02:00
Miek Gieben
077c1ce596
Some documentation update
2011-07-05 21:08:22 +02:00
Miek Gieben
3582120233
support tcp4, tcp6/udp6
2011-07-05 20:55:05 +02:00
Miek Gieben
9b6f66c1bb
panic when no client handler is found
2011-07-04 22:27:23 +02:00
Miek Gieben
a7ac103a20
typos
2011-07-04 21:38:50 +02:00
Miek Gieben
dd2b4e5b35
adapt chaos.go to the new api
2011-07-04 21:21:47 +02:00
Miek Gieben
8368f4ce60
Actually remove resolver.go
2011-07-04 20:19:44 +02:00
Miek Gieben
d93e0341bb
Fix the MX example -- and keep it simple
2011-06-14 21:25:24 +02:00
Elazar
904e322dfd
Ran gofix, and manually bring code up to latest go release.
...
1) Ran gofix on all files.
2) Added "tcp" and "udp" to Resolve* functions in server.go
3) Generated primes to the primes array and not to two predefined
struct members (P and Q), since now rsa support multi-factor primes.
2011-06-02 13:31:12 +03:00
Miek Gieben
7dbb865c03
TSIG works again 100%
2011-04-22 16:37:26 +02:00
Miek Gieben
21020bc047
more tweaks for tsig, it is broken now
2011-04-19 11:36:30 +02:00
Miek Gieben
e45b5679a6
fix tsig for the new api
2011-04-19 11:31:47 +02:00
Miek Gieben
3bb08ec4ba
Tsig generation works again *and* is elegant
2011-04-18 22:18:00 +02:00
Miek Gieben
19bfc93c5a
remove config.go
2011-04-18 22:08:12 +02:00
Miek Gieben
4d61f9591f
further fixes
2011-04-18 18:29:46 +02:00
Miek Gieben
05a6852663
port tcp read
2011-04-18 18:27:59 +02:00
Miek Gieben
13ace2687a
some minor updates
2011-04-18 09:28:56 +02:00
Miek Gieben
f46069608a
fix the async API
...
The async concurrent api works.
client.Exchange() is there as a sync
2011-04-17 21:56:40 +02:00
Miek Gieben
9f104d58f9
'port' read from socket over
2011-04-17 10:54:34 +02:00
Miek Gieben
031dbba174
"port" the write function
2011-04-15 23:55:27 +02:00
Miek Gieben
8d01350deb
Luke, use the slice
2011-04-15 22:32:30 +02:00
Miek Gieben
af25a88821
use a SLICE of messages
...
for the query reply use a slice of message. This way
AXFR/IXFR can be incorparated in this too.
Still todo: tsig
(but I have a very cool idea how to handle that)
2011-04-15 21:42:27 +02:00
Miek Gieben
6152a342da
Compiles again - still not sure about the impl. and API
2011-04-14 22:11:41 +02:00
Miek Gieben
950e39d29b
Create a DefaultQueryChan
2011-04-13 20:41:16 +02:00
Miek Gieben
39be50cc6a
More client stuff
2011-04-12 22:39:38 +02:00
Miek Gieben
7385261dc5
removed
2011-04-12 22:21:09 +02:00
Miek Gieben
afab5b1c10
async client library starting to exist
2011-04-12 21:44:56 +02:00