Commit Graph

87 Commits

Author SHA1 Message Date
Miek Gieben 4bde528be5 Export dns.Conn and make it more like net.Conn
Export lowlevel function and types so that they may be used.
They higher level Exchange function is still there. ExchangeConn
is gone, because it is not needed.
2013-09-28 21:58:08 +01:00
Miek Gieben 2b6e9122bd Use the better name: SingleInflight 2013-09-06 09:49:07 +00:00
Pranay Kanwar 467e5fce1b Do not fail AXFR if first anwser is just SOA 2013-07-11 12:12:32 +05:30
Miek Gieben 81941d4422 Update all copyright notices 2013-05-12 16:15:52 +02:00
Miek Gieben d53d9eab81 gofmt 2013-05-05 20:30:44 +02:00
Miek Gieben 235e892dfc Rename the RR types drop the RR_ prefix
This is also done in the official Go library. It also make the
code shorter.
2012-12-09 19:23:25 +01:00
Miek Gieben d758825590 more documentation 2012-12-02 10:14:53 +01:00
Miek Gieben 7268c0f90a Rename the axfr stuff
Think the names are now more Go like and descriptive.
2012-12-02 09:01:23 +01:00
Miek Gieben 724a156794 Envelope is the correct term in the context of transfers 2012-12-02 08:47:32 +01:00
Miek Gieben a115d2230a Doc updates 2012-12-02 08:45:47 +01:00
Miek Gieben 77c679fe65 Rename XfrToken to XfrMsg 2012-12-02 08:41:49 +01:00
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