Miek Gieben
23687174b2
Fix test compile
2011-07-05 21:09:48 +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
f53ca4bfc3
add TSIG axfr test, still needs work though
2011-07-05 20:52:35 +02:00
Miek Gieben
73cad7898b
gofmt
2011-07-05 20:01:17 +02:00
Miek Gieben
5d6b1bad8e
Make the readme more readable
2011-07-05 19:54:20 +02:00
Miek Gieben
2f0550997b
Add server_test
...
A VERY simple server implementation
2011-07-05 19:49:13 +02:00
Miek Gieben
265ebba3ba
fix the reflect server
2011-07-05 19:44:46 +02:00
Miek Gieben
052d36458d
Fix the reflect server
2011-07-05 19:17:29 +02:00
Miek Gieben
87c83cdf20
Update makefile
2011-07-05 16:12:05 +02:00
Miek Gieben
9b1145a18c
Fix reflect
...
This has lead so some other changes in server.go
2011-07-05 16:10:49 +02:00
Miek Gieben
492710b06c
Fix reflect - also update the API a bit I guess
2011-07-05 14:58:02 +02:00
Miek Gieben
74c8b93181
small tweaks for error messages
2011-07-05 10:45:06 +02:00
Miek Gieben
3c00547738
Fix 'q' too.
...
Adapt to the new api
2011-07-04 23:57:26 +02:00
Miek Gieben
60c66fa9ad
fix chaos
...
Perform the a and aaaa query in parallel
2011-07-04 23:33:06 +02:00
Miek Gieben
5721b8ff79
more resolver fixes, also in the tests
2011-07-04 22:31:07 +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
b0a9805be9
Documentation
2011-07-04 21:32:39 +02:00
Miek Gieben
5de08ff3dc
Update doc and set recursion = true in SetQuestion
2011-07-04 21:28:30 +02:00
Miek Gieben
dd2b4e5b35
adapt chaos.go to the new api
2011-07-04 21:21:47 +02:00
Miek Gieben
7b4a5eca06
fix key2ds.go
2011-07-04 20:57:19 +02:00
Miek Gieben
70ab2eadb5
Add back the pack/unpack tests
2011-07-04 20:21:01 +02:00
Miek Gieben
8368f4ce60
Actually remove resolver.go
2011-07-04 20:19:44 +02:00
Miek Gieben
466291701c
add sync. client test
2011-07-04 20:18:51 +02:00
Miek Gieben
6f0f2cc4fd
Fix the removal of encoding/line
2011-07-04 19:54:56 +02:00
Miek Gieben
616312a0fb
some changes, but doesnt make it work
2011-06-14 21:32:20 +02:00
Miek Gieben
d93e0341bb
Fix the MX example -- and keep it simple
2011-06-14 21:25:24 +02:00
Miek Gieben
3343234bf2
comment
2011-06-14 08:32:03 +02:00
Miek Gieben
d2cf536510
Merge pull request #4 from elazarl/master
...
It now compiles with latest go release
2011-06-13 23:26:47 -07: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
bce6b62bc0
small fixes
2011-04-18 19:52:41 +02:00
Miek Gieben
1cc16f01c8
fix axfr for the example
2011-04-18 19:50:05 +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
e46a5e9908
start fixing xfr and fold TSIG back in
2011-04-18 09:58:15 +02:00
Miek Gieben
13ace2687a
some minor updates
2011-04-18 09:28:56 +02:00
Miek Gieben
3c10506681
start with the documentation
2011-04-17 22:14:26 +02:00
Miek Gieben
d7b332725c
axfr should be fixed
2011-04-17 22:03:36 +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
36aa317315
Create SetQuestion function
2011-04-14 22:22:24 +02:00