Miek Gieben
|
475e47edf9
|
Merge pull request #131 from asergeyev/customrr
Added Private RR support
|
2014-09-21 07:52:50 +01:00 |
Miek Gieben
|
b80cbbdf6a
|
Merge branch 'master' of github.com:miekg/dns
|
2014-09-21 07:47:52 +01:00 |
Miek Gieben
|
e6b3ae712b
|
extra docs
|
2014-09-21 07:43:46 +01:00 |
Alex Sergeyev
|
fcf9302ae1
|
Changed logic to typeswitch and added comments.
And also added my name to contrib list as promised before.
|
2014-09-20 18:15:42 -04:00 |
Alex Sergeyev
|
8aab8c6fb2
|
Lots of renamed funcs and structures. More readability.
|
2014-09-20 18:07:36 -04:00 |
Alex Sergeyev
|
5b8552609c
|
Added docstrings, tests and example for PrivateRRs.
(renamed CustomRR to PrivateRR)
|
2014-09-19 17:30:10 -04:00 |
Alex Sergeyev
|
7c507e7592
|
New functionality for adding private RRs to dns lib.
|
2014-09-19 17:28:53 -04:00 |
Miek Gieben
|
89c0167ee0
|
Merge pull request #130 from asergeyev/master
Added examples for Punycode lib. Makes godoc look pretty.
|
2014-09-18 16:36:04 +01:00 |
Alex Sergeyev
|
d353d0190a
|
Added examples for Punycode lib. Makes godoc look pretty.
|
2014-09-18 10:03:14 -04:00 |
Miek Gieben
|
7f7df57ce4
|
Merge branch 'master' of github.com:miekg/dns
|
2014-09-18 13:23:47 +01:00 |
Miek Gieben
|
a8b5ce58e5
|
Small cleanups
|
2014-09-18 09:11:16 +00:00 |
Miek Gieben
|
f94a958587
|
Merge pull request #129 from asergeyev/master
Code for handling unicode/punycode name conversions v2
|
2014-09-18 10:08:04 +01:00 |
Miek Gieben
|
02dd474056
|
Dont export typeToRR (old rr_mk)
|
2014-09-16 07:31:20 +01:00 |
Miek Gieben
|
70556daa85
|
Dont export TypeToParserFunc
|
2014-09-16 07:20:40 +01:00 |
Miek Gieben
|
79861736a2
|
Factor the switch code in favor of TypeToParserFunc
|
2014-09-16 07:16:18 +01:00 |
Miek Gieben
|
17b0941344
|
Create and fill TypeToParserFunc
|
2014-09-16 07:15:34 +01:00 |
Miek Gieben
|
7962679920
|
Identical signature for all setXXX functions
|
2014-09-16 07:15:25 +01:00 |
Miek Gieben
|
e42e91096b
|
make all setTYPE parse function return the same values
|
2014-09-16 07:15:16 +01:00 |
Miek Gieben
|
bcb640ccaf
|
Make rr_mk public and call it TypeToRR
|
2014-09-16 07:15:06 +01:00 |
Alex Sergeyev
|
c37add8d9e
|
Prevented crash on empty string to our funcs +...
* changed encodeBytes to encode and decodeBytes to decode
* fixed few comments
|
2014-09-15 09:02:51 -04:00 |
Alex Sergeyev
|
c38aeeb355
|
Declared variables prior to entering main conversion loops
|
2014-09-15 08:43:08 -04:00 |
Alex Sergeyev
|
d42c1e2bbc
|
Replaced rune(0) to new const
|
2014-09-15 08:38:01 -04:00 |
Alex Sergeyev
|
950dac05e5
|
Changed label splitting and fixed behavior for final period in names.
|
2014-09-15 08:23:08 -04:00 |
Alex Sergeyev
|
c383d91f69
|
Added package header.
|
2014-09-15 07:52:58 -04:00 |
Alex Sergeyev
|
61db5487dd
|
Updated Punycode funcs
* docstrings
* changes to handling invalid punycode names
* updated tests
|
2014-09-13 22:11:53 -04:00 |
Alex Sergeyev
|
e59305ec87
|
Fixed panic calls to be similar to others in library
|
2014-09-12 07:52:33 -04:00 |
Alex Sergeyev
|
a906600891
|
Moved things to subdir and adding functions to convert strings.
|
2014-09-12 07:52:33 -04:00 |
Alex Sergeyev
|
e3c2c0734f
|
Added punycode conversion placeholders and...
internal functions that provide conversion and tests for those
per #120.
|
2014-09-12 07:52:32 -04:00 |
Miek Gieben
|
3d8aa78c0a
|
Merge pull request #127 from asergeyev/txtescapezscan
Fixed TXT parsing with escaped chars
|
2014-09-12 07:18:46 +01:00 |
Alex Sergeyev
|
ae7d973e40
|
Updated code to handle escapes in TXT RDATA
Added test demonstrating error in TXT parsing.
Fixed lexing process and slightly updated conversion
back to strings.
See #126 for details.
|
2014-09-11 21:23:38 -04:00 |
Miek Gieben
|
0aa3021a83
|
Remove all copyright notices
Use the central COPYRIGHT file.
|
2014-09-11 20:57:37 +01:00 |
Miek Gieben
|
cf89d7a324
|
Remove Copyrights from there
|
2014-09-11 20:53:14 +01:00 |
Miek Gieben
|
24296ac36e
|
Remove the GOST scan code.
The code was commented out and was a copy of code with a bug in it.
Basically it is safer to delete this, than to let it in.
|
2014-09-11 20:51:52 +01:00 |
Miek Gieben
|
518ab47648
|
Move the tests into the existing _test.go files.
|
2014-09-11 20:49:20 +01:00 |
Miek Gieben
|
7c8f83b848
|
Merge pull request #125 from FiloSottile/ecdsa_fix
Fix NewPrivateKey ECDSA parsing, and add test
|
2014-09-11 20:45:01 +01:00 |
Miek Gieben
|
b6da65c4b0
|
typo in the docs
|
2014-09-11 08:49:16 +01:00 |
Filippo Valsorda
|
72f550b0ec
|
Fix NewPrivateKey ECDSA parsing, and add test
|
2014-09-10 17:04:39 -07:00 |
Miek Gieben
|
5cdb7e11a3
|
Merge branch 'master' of github.com:miekg/dns
|
2014-09-09 07:53:52 +01:00 |
Miek Gieben
|
ad58c7b338
|
Disabled two failing ECDSA tests
|
2014-09-09 07:53:09 +01:00 |
Miek Gieben
|
6ecd49ff89
|
Fix ECDSA algorithms
Current code was completely wrong, so validation of ECDSA didn't work.
The new tests now works, the old one now doesn't
|
2014-09-09 07:51:15 +01:00 |
Miek Gieben
|
643720d10d
|
Fix ECDSA algorithms
Current code was completely wrong, so validation of ECDSA didn't work.
The new tests now works, the old one now doesn't
|
2014-09-09 07:45:47 +01:00 |
Miek Gieben
|
41a8a22440
|
Merge pull request #123 from cpatulea/master
Update documentation references for EDNS0 and EDNS0_SUBNET.
|
2014-09-08 08:23:48 +01:00 |
Catalin Patulea
|
009c72175f
|
Update documentation references for EDNS0 and EDNS0_SUBNET.
Only EDNS0 is defined in RFC 6891 and EDNS0_SUBNET is actually just a draft.
|
2014-09-05 23:56:41 -04:00 |
Miek Gieben
|
818abf8202
|
Lowercase the Test to test
|
2014-09-05 08:47:23 +01:00 |
Miek Gieben
|
4b1fbc358e
|
Cleanup the test a bit
|
2014-09-05 08:44:31 +01:00 |
Miek Gieben
|
919e4f9daf
|
Add extra (failing) sign/verify test
|
2014-09-05 08:27:22 +01:00 |
Miek Gieben
|
608a5e2c5e
|
Merge pull request #122 from FiloSottile/patch-1
Correct the DNSKEY flag values
|
2014-09-04 23:37:14 +01:00 |
Filippo Valsorda
|
3a7db158f5
|
Correct the DNSKEY flag values
See https://www.iana.org/assignments/dnskey-flags/dnskey-flags.xhtml
Elsewhere in the code 256 (1 << 8) is used numerically for ZONE, so nothing breaks for now.
|
2014-09-04 15:31:23 -07:00 |
Miek Gieben
|
fbc3e49b78
|
Some documentation updates
|
2014-09-02 10:31:15 +00:00 |
Miek Gieben
|
b2755a0543
|
Some docs moved to RFC status
|
2014-08-30 15:46:37 +00:00 |