81 Commits

Author SHA1 Message Date
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
Miek Gieben
ad968420ec allow the resolver to be reconfigured on the fly 2010-12-18 20:55:45 +01:00
Miek Gieben
0e00511c31 Make the resolver a goroutine
Fits more nicely with DNS, async. for free
Renamed the files: dropped the dns prefix
2010-12-18 20:31:26 +01:00