Commit Graph

2246 Commits

Author SHA1 Message Date
Miek Gieben d594c79d19 A optional new origin can be used after $INCLUDE
Add code to check for a new origin.
2012-12-13 10:08:35 +01:00
Miek Gieben 9147aad21e need to add test for dynamic updates 2012-12-09 21:17:16 +01:00
Miek Gieben 29fa0ac7c0 unpack: allow for multiple edns0 options 2012-12-09 21:11:15 +01:00
Miek Gieben 66df243b0e Update todo 2012-12-09 21:04:52 +01:00
Miek Gieben 2e02b42558 Fix documentation too 2012-12-09 20:20:16 +01:00
Miek Gieben 9705bb8077 gofmt 2012-12-09 20:18:11 +01:00
Miek Gieben f56b237012 Fix zonesigning branch 2012-12-09 20:16:46 +01:00
Miek Gieben 940b786161 Merge conflict resolution 2012-12-09 20:15:31 +01:00
Miek Gieben 7fb499889a Type rename 2012-12-09 20:11:56 +01:00
Miek Gieben 617c8bde18 Update the utils too 2012-12-09 19:26:32 +01: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 3609f3e7a5 gofmt -s 2012-12-09 19:07:31 +01:00
Miek Gieben 747004a724 Call it ModTime 2012-12-07 11:20:07 +01:00
Miek Gieben 9d337f7bb7 Merge branch 'zonesigning' of github.com:miekg/dns into zonesigning 2012-12-07 10:01:59 +01:00
Miek Gieben 3e29cce3ba Check the NSEC type bitmap once
It's still timeconsuming, but the only way to check the
type bitmap is to iterate over the slice...
2012-12-07 09:16:43 +01:00
Miek Gieben 235184e110 cleanup the TODO 2012-12-06 15:52:32 +01:00
Miek Gieben 885aba5fad Add mtime to the zone structure 2012-12-06 15:38:23 +01:00
Miek Gieben ff22456520 Also check when unpacking for domainnames > 255 2012-12-06 10:55:31 +01:00
Miek Gieben 4c6d89f727 PackDomainName: check for 255 or more octects
Adhire to the spec.
2012-12-06 10:48:55 +01:00
Miek Gieben f732827187 Add new error and fmt it 2012-12-06 10:40:14 +01:00
Miek Gieben 25e58e4edd update todo 2012-12-05 16:25:43 +01:00
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