169 Commits

Author SHA1 Message Date
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