Commit Graph

8 Commits

Author SHA1 Message Date
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