Commit Graph

2975 Commits

Author SHA1 Message Date
Miek Gieben
0c698b9463 Merge pull request #39 from abh/edns-use-sourcenetmask
Use SourceNetmask to truncate IP addresses in EDNS-CLIENT-SUBNET packets
2013-05-08 01:05:59 -07:00
Ask Bjørn Hansen
0bcd43e7cc Use SourceNetmask to truncate IP addresses in EDNS-CLIENT-SUBNET packets
OpenDNS returns SERVFAIL to the client if the address in the EDNS packet
is too long. The spec says to truncate it to the shortest possible address
when the SourceNetmask is applied.
2013-05-07 16:53:43 -07:00
Miek Gieben
fbea2567e5 Remove some stuff 2013-05-07 22:07:20 +02:00
Miek Gieben
1133a39996 Beter test and isWildcard function 2013-05-07 22:04:30 +02:00
Miek Gieben
57cdce3f58 Add a isWildcard function 2013-05-07 20:03:45 +02:00
Miek Gieben
e6e7649112 move functions closer together 2013-05-07 19:41:14 +02:00
Miek Gieben
2fd0e458df Use Signature to be more in line with the non-plural RR 2013-05-07 10:33:20 +02:00
Miek Gieben
cfc222de3d Add Sign3 2013-05-07 10:17:01 +02:00
Miek Gieben
e1151d6edc Update the Zone structure for NSEC and NSEC3 2013-05-07 09:44:21 +02:00
Miek Gieben
49ffb70c33 Add nsec3 stuff 2013-05-06 22:51:22 +02:00
Miek Gieben
709d11aa2c update documentation 2013-05-06 22:23:13 +02:00
Miek Gieben
2a79dc91a7 Remove node locks 2013-05-06 11:07:22 +02:00
Miek Gieben
77bba78ef3 Make removing work 2013-05-06 10:59:53 +02:00
Miek Gieben
aaf475fae3 In progress refactering of Remove* 2013-05-05 22:35:00 +02:00
Miek Gieben
7710e3ff81 Update readme 2013-05-05 21:59:43 +02:00
Miek Gieben
9a80799666 Fix remaining zone.Remove* functions
Fix the remove function and make them more like zone.Remove()
2013-05-05 21:52:21 +02:00
Miek Gieben
6cb4f9cf69 Fix remove too 2013-05-05 21:03:34 +02:00
Miek Gieben
d53d9eab81 gofmt 2013-05-05 20:30:44 +02:00
Miek Gieben
ba747fd510 Add some more tests 2013-05-05 20:30:39 +02:00
Miek Gieben
c38ec4ee6c Fix signing
Fix the signing - the memory usage of the Zone structure is bad - and
needs to be fixed somehow.
2013-05-05 19:38:09 +02:00
Miek Gieben
76b81135e5 Update documentation 2013-05-05 09:52:37 +02:00
Miek Gieben
c798e9ca63 More Zone api changes
Fix the tests for the new Zone api.
2013-05-05 09:37:04 +02:00
Miek Gieben
4c7989886b First pass at making zonedata more mem. efficient 2013-05-04 23:46:57 +02:00
Miek Gieben
07d0e08366 Remove radix from core go dns 2013-05-04 23:21:01 +02:00
Miek Gieben
45775dff76 Remove the radix.Radix dependency
Put everything in maps. This removes to a major dependency and
makes Go DNS only depend on the core Go packages. This will
probably also be faster than the current setup -- although this
needs to be benchmarked.
2013-05-04 22:28:44 +02:00
Miek Gieben
6c9efcdf1f Small tweaks 2013-04-30 16:56:30 +02:00
Miek Gieben
495b7d6552 Add UID/GID/UINFO record 2013-04-30 16:42:04 +02:00
Miek Gieben
8285ae4e56 add uinfo uid gid and unspec rr type number 2013-04-30 15:20:01 +02:00
Miek Gieben
9d9f5e0b95 Implement CAA 2013-04-30 15:04:07 +02:00
Miek Gieben
cb4c191bd3 more docs 2013-04-27 17:12:22 +01:00
Miek Gieben
8d0b1a32cf Add the code, but does fit in the map anymore 2013-04-27 17:02:28 +01:00
Miek Gieben
d075d4cad1 update readme 2013-04-27 16:57:33 +01:00
Miek Gieben
d3f6b37ffc Merge branch 'master' of github.com:miekg/dns 2013-04-18 11:24:11 +02:00
Miek Gieben
859bb2659e Add another rfc to the list 2013-04-18 11:23:53 +02:00
Miek Gieben
d2551c5c84 Docs and todo update 2013-04-17 08:47:07 +01:00
Miek Gieben
0ddecce7e6 remove useless comment 2013-04-17 08:38:10 +01:00
Miek Gieben
d098e9fdce Lengh is 6 bytes for eui48 2013-04-16 15:38:15 +01:00
Miek Gieben
f43b7368bd Add tests for EUIxx 2013-04-16 08:41:35 +01:00
Miek Gieben
740ad9674c Allow EUI48 and EUI46 to be parsed 2013-04-16 08:41:35 +01:00
Miek Gieben
4c7a8b4985 Add EUI48 (108) and EUI64 (109)
This is an implementation of
http://tools.ietf.org/html/draft-jabley-dnsext-eui48-eui64-rrtypes-02
2013-04-16 08:40:24 +01:00
Miek Gieben
e1c501fcec Fix the CertificateToDane return value: add error
This is more inline with the rest of the functions which
do return an actual error. It is however a small api change.
2013-04-09 08:00:08 +01:00
Miek Gieben
afd4d24572 doc typo 2013-04-07 22:05:48 +01:00
Miek Gieben
cba3ae4273 Small update to the TODO 2013-04-04 21:01:33 +01:00
Miek Gieben
d4374543ea Fix example names 2013-04-02 08:09:36 +01:00
Miek Gieben
ddb9970c1b Fix example names 2013-04-02 08:07:22 +01:00
Miek Gieben
a00f1d82de remove these printlns 2013-03-20 22:35:13 +00:00
Miek Gieben
72ba10e3d7 Merge branch 'master' of github.com:miekg/dns 2013-03-18 17:59:05 +00:00
Miek Gieben
ba6c414fe4 Return an error when packStruct fails
When doing the recursion be sure to catch the error that
might be generated.

Reported-by: madotsuki
2013-03-18 17:56:48 +00:00
Miek Gieben
c88ac95260 whitespace in comments 2013-03-18 17:37:49 +00:00
Miek Gieben
7e1530b77e List the users of this list 2013-03-14 16:42:35 +01:00