Commit Graph

2975 Commits

Author SHA1 Message Date
Miek Gieben
ecb630cb9b remove println 2012-12-05 16:25:11 +01:00
Miek Gieben
3049265c22 Change ZoneData.Sign to take string as first argument
There is no need to put the ZoneData structure in there.
2012-12-05 16:10:40 +01:00
Miek Gieben
cebeb8474d Dont use this type at all 2012-12-05 16:07:09 +01:00
Miek Gieben
9df1f9fb62 Documentation tweaks 2012-12-05 16:03:51 +01:00
Miek Gieben
c2ab7033c4 Be more carefull when adding to the NSEC type list 2012-12-05 15:51:42 +01:00
Miek Gieben
5d369a1909 Fix resigning 2012-12-05 10:57:14 +01:00
Miek Gieben
44cf4a1abc Revert some changes and fix zone (re)-signing
Signing works, but should be test. It only adds NSEC records
at the moment. NSEC3 is on the todo.
2012-12-05 10:35:46 +01:00
Miek Gieben
4bac50e3e4 Revert "Make zone.Signatures a map of a map"
This reverts commit f4f936e2e8.
2012-12-05 09:27:50 +01:00
Miek Gieben
6359438615 Revert "boe"
This reverts commit 8c66338b8b.
2012-12-05 09:27:42 +01:00
Miek Gieben
8c66338b8b boe 2012-12-04 20:27:04 +01:00
Miek Gieben
f4f936e2e8 Make zone.Signatures a map of a map 2012-12-04 20:21:58 +01:00
Miek Gieben
526fbf27c9 Make it compile 2012-12-04 19:53:16 +01:00
Miek Gieben
858f602a15 Getting there 2012-12-04 16:11:54 +01:00
Miek Gieben
37fddc0178 And a flag to disable 2012-12-03 17:27:43 +01:00
Miek Gieben
1e795e3dd1 q understand urls, and strips them 2012-12-03 17:06:46 +01:00
Miek Gieben
74cf502baf doc. updates 2012-12-02 20:32:44 +01:00
Miek Gieben
d758825590 more documentation 2012-12-02 10:14:53 +01:00
Miek Gieben
862e4c7419 Update the examples 2012-12-02 09:34:40 +01:00
Miek Gieben
2d1d1303c1 Update the tests 2012-12-02 09:31:42 +01:00
Miek Gieben
2a3b818b95 Use much more descriptive names for the maps
Alg_str -> AlgorithmToString
 Rr_str  -> TypeToString

And for the reverse maps also.
2012-12-02 09:29:54 +01:00
Miek Gieben
db014f9891 remove NSEC3 errors 2012-12-02 09:21:38 +01:00
Miek Gieben
d618b07666 documentation 2012-12-02 09:15:10 +01:00
Miek Gieben
6507aee74e Merge branch 'master' of github.com:miekg/dns 2012-12-02 09:06:59 +01:00
Miek Gieben
d0db571db1 update todo 2012-12-02 09:05:48 +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
a014286039 Some updates in the comments/documentation 2012-12-02 08:31:56 +01:00
Miek Gieben
743553c6d1 Merge branch 'master' of github.com:miekg/dns 2012-12-02 08:14:02 +01:00
Miek Gieben
78edd83ca6 Add comma 2012-12-02 08:13:57 +01:00
Miek Gieben
8d6d7593b8 add some extra text 2012-12-01 22:54:35 +01:00
Miek Gieben
f6d5ab4e2e Add comments from Stephan 2012-12-01 21:29:47 +01:00
Miek Gieben
ffe42637c5 Documentation 2012-12-01 12:44:57 +01:00
Miek Gieben
acbbbdece5 Fix comment 2012-11-30 19:39:16 +01:00
Miek Gieben
0a6829ee50 Fix q 2012-11-30 19:33:39 +01:00
Miek Gieben
3783f43fc3 documentation 2012-11-30 19:13:49 +01:00
Miek Gieben
4e91f80881 Merge branch 'master' of github.com:miekg/dns 2012-11-30 15:06:36 +01:00
Miek Gieben
4570e76f2a Refacter txt parsing too
Added new function and make SPF, TXT and other use it.
2012-11-30 15:02:46 +01:00
Miek Gieben
0afd46c739 Shorten functions
Add a endingToString function to refacter a bunch of other setXXX
functions which all had the same endings.
2012-11-30 14:52:05 +01:00
Miek Gieben
48434502f4 layout tweaks in the source file 2012-11-30 14:05:08 +01:00
Miek Gieben
7298fe690c tweak layout 2012-11-30 13:25:55 +01:00
Miek Gieben
c86d0c4331 tweak layout 2012-11-30 13:25:01 +01:00
Miek Gieben
e5e3adb150 Fix chaos 2012-11-29 21:20:22 +01:00
Miek Gieben
1297852fdc Fix tcp read/writes and client.Attempts
Thanks to a bug report from Vitalie Cherpec which commented that this
didn't work.

The timeout settings we not in the client.attempts loop, so they
were only active for the first attempt. And the loop wasn't broken
out of when the write or read succeeded.

Both these issues are now fixed.
2012-11-22 15:06:21 +01:00
Miek Gieben
6e605f578e Make the line count error reporting more sane 2012-11-22 13:41:40 +01:00
Miek Gieben
fa55001b4c Add tests and fix bug in the parser
torc wasn't set in some part resulting in parsing a 'A' while
in fact the parsed record type should have been returned.
2012-11-22 11:54:46 +01:00
Miek Gieben
ac39024a25 gofmt 2012-11-21 23:20:56 +01:00
Miek Gieben
9e02a40cc8 Merge branch 'reader' 2012-11-21 22:32:23 +01:00
Miek Gieben
5a3db7b240 delayed newline counting
Fix a lot of corning cases for correct newline counting, but not
the ones where the closing brace is solely on a newline.
2012-11-21 22:21:40 +01:00