52 Commits

Author SHA1 Message Date
Miek Gieben
a7a8b616f0 fix reflect 2011-03-21 22:53:15 +01:00
Miek Gieben
7a466c2f73 Better error handling 2011-03-21 17:55:14 +01:00
Miek Gieben
e47ebb2e4c it works very nicely 2011-03-21 16:28:13 +01:00
Miek Gieben
d67c427953 Abstract xfr nicely away 2011-03-21 15:44:51 +01:00
Miek Gieben
90a1d813d9 Fix rereading tcp 2011-03-21 14:20:46 +01:00
Miek Gieben
6aaa5acd76 tsig nicely abstracted. Still bugs present though 2011-03-21 11:39:04 +01:00
Miek Gieben
9bc0f3ed6b More TSIG stuff 2011-03-21 10:51:28 +01:00
Miek Gieben
101efce434 Tsig updates 2011-03-20 21:40:10 +01:00
Miek Gieben
b1f63f57c4 Read/Write works, but axfr still fails 2011-03-20 19:58:55 +01:00
Miek Gieben
de9a1da6aa Add lowlevel read/write primatives - and make it much more Go-like 2011-03-20 16:52:10 +01:00
Miek Gieben
aa7d08bc8a small updates 2011-03-15 23:12:20 +01:00
Miek Gieben
98f1f80088 update TODO 2011-03-15 20:52:12 +01:00
Miek Gieben
55fbf665bf minor tweaks 2011-03-15 20:07:39 +01:00
Miek Gieben
e78ef64a54 TSIG works for AXFR (also with multiple message envelopes) 2011-03-15 19:36:03 +01:00
Miek Gieben
b56344d41d TSIG works! 2011-03-15 18:56:27 +01:00
Miek Gieben
0059556516 More TSIG changes. Curious if they amount to something 2011-03-15 16:18:13 +01:00
Miek Gieben
566b5f7d1a More tsig stuff 2011-03-14 22:05:57 +01:00
Miek Gieben
7d9a16fbdc More TSIG stuff 2011-03-14 13:08:54 +01:00
Miek Gieben
82bb573f56 more tsig work - still does not validate but getting close 2011-03-14 12:28:04 +01:00
Miek Gieben
e777b48bf6 TSIG is kaput 2011-03-13 18:50:11 +01:00
Miek Gieben
496ab892d8 New does help 2011-03-13 14:51:02 +01:00
Miek Gieben
afe2cbf6f2 more tsig stuff 2011-03-11 15:02:37 +01:00
Miek Gieben
e0fb2abe85 remove err from the function and kill the println 2011-03-07 09:51:20 +01:00
Miek Gieben
8f51aa6f65 Implement rrt measurements and remove round robin 2011-03-05 18:43:30 +01:00
Miek Gieben
9bde54ef9f Set the map here too 2011-03-05 17:27:43 +01:00
Miek Gieben
3393e4e2fe Remember rrt in the resolver 2011-03-05 17:27:16 +01:00
Miek Gieben
7014ede8bb Add -short option that does not display the long key and sig data 2011-03-01 14:57:21 +01:00
Miek Gieben
13ab14dd2f TCP: re-read until all promised bytes are read.
Works for long tcp packets
2011-02-27 15:50:01 +01:00
Miek Gieben
180ac4cd11 doc update 2011-02-26 17:44:35 +01:00
Miek Gieben
9bc0ca4618 Fix AXFR and IXFR
Defined a new type Xfr which holds all the info for AXFR and
IXFR. Works well. Xfr.Add tells to add or remove (in case of AXFR
alwasy true). And further more holds the RR
2011-02-26 17:39:18 +01:00
Miek Gieben
22336b7287 Ixfr works, but im receiving nil messages 2011-02-26 11:41:25 +01:00
Miek Gieben
157062f6b0 Ixfr works, but needs to be refined 2011-02-25 23:29:08 +01:00
Miek Gieben
22f34ec885 More stuff for IXFR 2011-02-25 22:44:13 +01:00
Miek Gieben
fef5d323bb Implementing IXFR 2011-02-25 21:17:17 +01:00
Miek Gieben
c1297a4f9c Fixes for axfr,ixfr 2011-02-25 20:23:33 +01:00
Miek Gieben
2b5a97570a Made a start with ixfr 2011-02-24 21:44:55 +01:00
Miek Gieben
98e4b33cb5 formatting and documentation 2011-02-24 16:22:14 +01:00
Miek Gieben
392dd2f2df Fix documentation 2011-02-10 16:23:34 +01:00
Miek Gieben
61925e2002 Bring funkensturm up to date for the new api 2011-02-10 12:26:26 +01:00
Miek Gieben
241d441371 fix the multiplexing 2011-02-09 17:59:06 +01:00
Miek Gieben
529acd9773 add resolver here 2011-02-08 20:33:51 +01:00
Miek Gieben
15dd65171b Split the package in multiple packages
dns - the standard rrtypes and such
    dnssec - validation, keytag calculation, etc
    resolver - for talking to servers
2010-12-30 13:42:52 +01:00
Miek Gieben
4ed14b9785 More cleansup and robustness
* make the resolver more robust
* more dnssec functions
2010-12-28 09:41:54 +01:00
Miek Gieben
73cc848e00 remove these files, stay lean and mean 2010-12-28 08:29:17 +01:00
Miek Gieben
65caf6f891 Documentation!
Make the packet documentation much nicer.
2010-12-25 11:14:11 +01:00
Miek Gieben
c6e16cc054 Add examples
Completely modules after the examples of ldns.
Fist example is 'mx', print out the MX records of a domain.
More are coming, each is used to fine-tune the dns api
2010-12-24 12:43:53 +01:00
Miek Gieben
0ed946d772 commit other changes too 2010-12-20 22:20:13 +01:00
Miek Gieben
718abd1f50 add mangler option to the resolver 2010-12-19 09:45:21 +01:00
Miek Gieben
8a88afca54 not used yet 2010-12-18 23:46:37 +01:00
Miek Gieben
b5640dba89 Make it more go like
Start the goroutine and return the channel to the caller.
Only use 1 channel, a nil message signals the end of the
routine.

Still need a good name for the MsgErr
2010-12-18 23:35:30 +01:00