Commit Graph

2258 Commits

Author SHA1 Message Date
Miek Gieben ed2bb3b7f7 Remove the t/ directory 2012-12-14 12:42:11 +01:00
Miek Gieben 4a951fc1f8 Merge branch 'master' of github.com:miekg/dns 2012-12-14 12:35:25 +01:00
Miek Gieben 3233964b4d Fix parse tests 2012-12-13 15:23:44 +01:00
Miek Gieben 464a7bacf4 For ommited ttls fall back to $TTL or 3600
As per RFC 2308
2012-12-13 15:11:22 +01:00
Miek Gieben 7cdb2a8bc8 update the example tests 2012-12-13 14:57:19 +01:00
Miek Gieben 9bb9dc990b remove todo item 2012-12-13 13:56:23 +01:00
Miek Gieben 025362a820 Print the query packet after adding the tsig 2012-12-13 13:55:58 +01:00
Miek Gieben 99817d7c33 Fix TSIG
If you even add a tag to a struct member, be sure to add that
tag to the other important structs too.
2012-12-13 13:44:27 +01:00
Miek Gieben 375917b7a0 update the todo 2012-12-13 13:10:34 +01:00
Miek Gieben 0c7712073a Return the correct values 2012-12-13 10:47:33 +01:00
Miek Gieben 623de14ebb Add missing checks if $ORIGIN's name is valid
Call IsDomainName() as $ORIGIN is rel. infrequent this does
not impact the parsing speed.
2012-12-13 10:14:22 +01:00
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 53dccfe5ed fix docs 2012-12-12 15:08:39 +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