Commit Graph

76 Commits

Author SHA1 Message Date
Miek Gieben 267cfaab11 Make ResponseWriter a io.Writer
The WriteBuf() is renamed Write() and returns and int and
an error. The old Write() call, is now WriteBuf()
2012-11-18 12:21:02 +01:00
Miek Gieben 017e4116f9 Prefix al panics with dns: 2012-10-10 08:56:34 +02:00
Miek Gieben 449c2c013d Rename ErrXfrSoa to ErrSOA 2012-09-12 21:13:57 +02:00
Miek Gieben 3a6edfa2c9 fmt 2012-09-10 20:51:19 +02:00
Miek Gieben 9fd69abe09 struct embedding 2012-09-05 16:31:48 +02:00
Miek Gieben 13a1e4a4ae Add axfr/ixfr support to q 2012-09-03 19:08:21 +02:00
Miek Gieben 4a4292c1b9 fix merge 2012-08-31 15:05:59 +02:00
Miek Gieben 422b674d48 Make [ia]XfrReceive more alike and re-add Id check in axfrReceive 2012-08-31 15:03:25 +02:00
Miek Gieben 9255ad61ac outgoing xfr works, but not for my Go code 2012-08-28 21:36:25 +02:00
Miek Gieben 1b2b39f300 axfr outgoing is working, but only for one envelop 2012-08-28 20:29:06 +02:00
Miek Gieben 14a8b3c2f2 Fix documentation 2012-08-28 19:53:21 +02:00
Miek Gieben e4fb00c34d Fix handling of non fully qualified domain names
When PackDomain sees such a name it calls panic.
All panic now use the prefix 'dns:'
2012-08-28 18:21:23 +02:00
Miek Gieben 9e318901a6 preparing to use hijack 2012-08-28 13:12:55 +02:00
Miek Gieben 6d19e31fae A working outgoing axfr impl. 2012-08-28 11:03:41 +02:00
Miek Gieben 9ce7de998f fix merge 2012-08-28 10:53:19 +02:00
Miek Gieben 4a201697f9 docs 2012-08-28 10:52:46 +02:00
Miek Gieben 4146c9b02f some fixes 2012-08-28 09:27:55 +02:00
Miek Gieben 33a9b24c2b more sym 2012-08-28 08:24:42 +02:00
Miek Gieben d98cc3f2f7 rename XfrMsg to XfrToken 2012-08-28 08:14:12 +02:00
Miek Gieben 30725eb88d Fix outgoing xfr and fix incoming in the process 2012-08-27 21:28:02 +02:00
Miek Gieben c3b9e95d58 designed finalized 2012-08-27 20:58:58 +02:00
Miek Gieben 2c6eb05cf8 Return a set of RRs 2012-08-27 19:59:55 +02:00
Miek Gieben d942401931 comments/doc 2012-08-27 19:48:58 +02:00
Miek Gieben 15f03a72fb Not needed 2012-08-23 10:33:33 +02:00
Miek Gieben a8b3c8139b Clean up the client 2012-08-17 08:45:26 +02:00
Miek Gieben 1958fd2031 Fix compile errors 2012-08-08 09:45:31 +02:00
Miek Gieben 946e3a09ca Rename Exchange struct to XfrMsg - which better tells what it does 2012-08-08 09:44:34 +02:00
Miek Gieben eec679d102 Remove hijacked 2012-08-06 20:34:09 +02:00
Miek Gieben 534433a714 gofmt -w 2012-06-20 20:16:36 +02:00
Miek Gieben 96076ad9a1 Add parsing of the root-anchor (as XML) 2012-06-03 21:01:39 +02:00
Miek Gieben 4ec99b2dec Fix examples 2012-05-21 14:56:14 +02:00
Miek Gieben 7a3af5b729 Support $GENERATE (the bind extension).
It is even better than the bind one, because all records are
supported (as long as the output is valid)
2012-05-20 15:28:27 +02:00
Miek Gieben 0ff492af57 fix documentation 2012-05-18 19:41:20 +02:00
Miek Gieben bf3771da8e update the todo 2012-05-18 12:29:01 +02:00
Miek Gieben f26963f4c3 Fix incoming [IA]xfr
Make the function return a new channel, which is closed at the
end of the transfer. This way you can just use 'range' to loop
over the records.
2012-05-18 12:06:31 +02:00
Miek Gieben c96d86da1f Add remote address too 2012-05-05 17:37:33 +02:00
Miek Gieben ed1c8fa812 Put the rrt info the Exchange struct 2012-05-05 09:56:45 +02:00
Miek Gieben 2143ce0031 Fix the tests, but they now fail 2012-01-11 14:44:54 +01:00
Miek Gieben 22a467e718 Fixes the latest weekly 2011-11-02 23:06:54 +01:00
Miek Gieben 21e2f63b4c more server stuff 2011-09-11 22:10:04 +02:00
Miek Gieben 18256533ff tweaks 2011-09-11 21:32:36 +02:00
Miek Gieben 6f78219c22 Documentation updates 2011-09-11 20:47:25 +02:00
Miek Gieben 6ef13c3cbd Start thinking about server side axfr 2011-09-11 17:24:52 +02:00
Miek Gieben d814a20623 test multiple messages 2011-09-11 17:01:55 +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 caf69b662c Add Ixfr back in
Fix ixfr. Don't be smart about iterpreting the ixfr itself,
just funnel the packets back to the client, but do obey the
ixfr algorithm
2011-09-10 16:49:22 +02:00
Miek Gieben d367484d6f move the code around 2011-09-10 14:59:21 +02:00
Miek Gieben bec4153541 slight updates to the TODO 2011-09-10 14:48:22 +02:00
Miek Gieben 19bfc93c5a remove config.go 2011-04-18 22:08:12 +02:00
Miek Gieben 05a6852663 port tcp read 2011-04-18 18:27:59 +02:00