Miek Gieben
ad7777796e
Add link to web article explaining it further
2015-06-25 07:33:30 +01:00
Miek Gieben
6da0cd2c92
CAA now also be tested in TestDynamicUpdateParsing
2015-06-19 08:23:26 +01:00
Miek Gieben
65752c4214
Merge pull request #219 from rolandshoemaker/caa
...
Fix CAA parsing
2015-06-19 08:20:59 +01:00
Roland Shoemaker
52647ae7a7
Address miekg's comments
2015-06-18 19:17:02 -07:00
Roland Shoemaker
020002b9e0
Switch setCAA, CAA.String to presentation format, add various encoding helpers
2015-06-17 16:06:31 -07:00
Miek Gieben
db86274360
Merge pull request #221 from asergeyev/master
...
Minor fixes (see description)
2015-06-17 07:20:22 +01:00
Alex Sergeyev
387c041985
Changed logic around reserving wire read buffer
2015-06-16 21:21:22 -04:00
Alex Sergeyev
416c39c6e9
Removed redundant code #220
2015-06-16 19:24:38 -04:00
Roland Shoemaker
1995ce2be4
Fix unpacking
2015-06-16 13:55:19 -07:00
Roland Shoemaker
e745789a1e
Fix typo
2015-06-16 11:57:09 -07:00
Roland Shoemaker
522331911d
Enable CAA parsing
2015-06-16 02:01:28 -07:00
Miek Gieben
7864d445e5
Merge pull request #217 from flebarbe/master
...
Fix crash in inIxfr when ReadMsg fails
2015-06-05 14:32:24 +01:00
Flavien Lebarbe
bc2101d0db
Fix crash in inIxfr when ReadMsg fails
...
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5dc851]
goroutine 41 [running]:
github.com/miekg/dns.(*Transfer).inIxfr(0xc2127648d0, 0x437bcc, 0xc21678c600)
/mnt/data/xxxxx/third-party/src/github.com/miekg/dns/xfr.go:110 +0x231
created by github.com/miekg/dns.func·073
/mnt/data/xxxxx/third-party/src/github.com/miekg/dns/xfr.go:45 +0xf5
2015-06-05 14:59:53 +02:00
Miek Gieben
bb1103f648
Merge pull request #212 from asergeyev/master
...
Changes for rarely-used RR types
2015-05-07 19:35:36 +01:00
Alex Sergeyev
0bc16d74c9
Added comment to commented-out testcase
2015-05-07 12:12:39 -04:00
Alex Sergeyev
32bf0823e2
Support for almost all possible ways to format HINFO record
2015-05-07 12:09:05 -04:00
Alex Sergeyev
fe15681571
Fixed reversed logic.
2015-05-07 11:31:23 -04:00
Alex Sergeyev
2e9176243e
Updated NSAP support according to RFC1706
...
New text format 0x and no more length in the object itself.
2015-05-07 10:18:47 -04:00
Alex Sergeyev
d2bed60478
Fixed SSHFP parsing when multiple lines used for text representation.
2015-05-07 09:50:44 -04:00
Miek Gieben
d00c3f21d4
Merge pull request #211 from miekg/tlsa
...
Fix TLSA parsing
2015-05-07 14:02:27 +01:00
Miek Gieben
28965350a6
Check the l.err token errors
...
If found return them. Not that we only return them in looping
constructs, i.e. endingTo*, in the other ones it will silently fail
still.
2015-05-07 12:47:56 +01:00
Miek Gieben
03d7235729
Add TLSA parsing tests
2015-05-07 12:47:42 +01:00
Miek Gieben
6dfba2f623
Fix off-by-one on the maxTok and maxCom check
2015-05-07 10:56:48 +01:00
Miek Gieben
8bcf792243
Playing with TLSA records
2015-05-07 07:42:55 +01:00
Miek Gieben
3331c2fad9
Merge commit '627287e675fb79f57928f77fbfae24abe15ed58b' into tlsa
2015-05-07 07:31:57 +01:00
Miek Gieben
031d041ced
Merge pull request #209 from michaelharo/client
...
Cleanup Client.exchange
2015-05-07 07:28:34 +01:00
Alex Sergeyev
627287e675
Issue with TLSA parsing identified
2015-05-06 23:25:33 -04:00
Miek Gieben
af747277f5
Merge pull request #208 from michaelharo/checkid
...
Check that the query ID matches the answer ID.
2015-05-06 09:14:39 +01:00
Michael Haro
32448f39cd
Cleanup Client.exchange
...
Make Client's exchange function easier to read by moving timeout logic
into separate functions.
Start the timers closer to where they're used so that time from other
logic doesn't impact the deadlines.
2015-05-05 23:23:53 -07:00
Michael Haro
b9c528f99c
Keep Exchange as it was, but still check ID.
2015-05-05 23:20:46 -07:00
Michael Haro
dddcd696ba
Check that the query ID matches the answer ID.
...
Reduce some code duplication by making Exchange() use Client.Exchange().
When performing an Exchange if the query ID does not match the answer ID
return an error. Also add a test for this condition.
2015-05-05 23:00:16 -07:00
Miek Gieben
c13058f493
Merge pull request #207 from roosmaa/keyparse
...
Use algorithm number to determine private key type.
2015-05-01 12:28:44 +01:00
Mart Roosmaa
f074745b0b
Use algorithm number to determine private key type.
2015-04-30 17:49:30 +02:00
Miek Gieben
82ffc45b1f
Merge pull request #205 from mattrobenolt/patch-1
...
Add Mesos DNS to Users list
2015-04-28 06:14:20 +00:00
Matt Robenolt
1558a5bd21
Add Mesos DNS to Users list
2015-04-27 23:00:45 -07:00
Robert Gordon
5a357a6fc5
Expose the udp/tcp listening socket w/ ListenAndServe()
...
Expose the udp and tcp listening socket when ListenAndServe() is used, it seems like
plopping them on Server.Listener and Server.PacketConn would be ideal. The use case is so
that a port of zero can be used and having them exposed will allow for examination of the port
that is bound.
2015-04-18 06:52:30 +01:00
Miek Gieben
e98f4bc5ff
Merge pull request #203 from FiloSottile/c-records
...
Add ToCDNSKEY and ToCDS methods (+bugfix)
2015-04-10 19:04:19 +01:00
Filippo Valsorda
4657816178
Add ToCDNSKEY and ToCDS methods (+bugfix)
2015-04-10 18:54:04 +01:00
Miek Gieben
e6898c8f30
Merge pull request #201 from asergeyev/master
...
Addressed #198 , correct decoding should only look at last separator.
2015-04-04 08:27:39 +01:00
Miek Gieben
c1820daf04
Merge pull request #200 from knickers/patch-1
...
Add tianon/rawdns to the list of projects
2015-04-04 08:14:53 +01:00
Alex Sergeyev
3373659843
Addressed #198 , correct decoding should only look at last separator.
2015-04-03 23:49:35 -04:00
Nick Cox
cba5f23774
Add tianon/rawdns to list of projects
...
tianon's rawdns is a direct, raw DNS interface to the Docker API
2015-04-03 18:53:54 -06:00
Miek Gieben
015384b10e
Merge branch 'master' of github.com:miekg/dns
2015-03-25 09:52:57 +00:00
Miek Gieben
0fda12a2bb
Add extra docs for SetQuestion and SetNotify
...
See issue #196
2015-03-25 09:52:14 +00:00
Miek Gieben
b9149a2cd7
Merge pull request #195 from suzuken/fix_readme_about_example
...
README update: document has already moved to doc.go
2015-03-24 07:16:40 +00:00
Kenta SUZUKI
df92ed7782
README update: document has already moved to doc.go
2015-03-24 15:56:56 +09:00
Miek Gieben
32c1cd51a9
Merge pull request #194 from reyzell/custom-edns-options
...
Add support for custom EDNS options in GoDNS.
2015-03-19 09:29:20 +00:00
Miek Gieben
4ec382cd22
Parsing: make channel allocation faster
2015-03-19 09:18:25 +00:00
Miek Gieben
0793c088b9
$GENERATE: don't crash when printing the result.
2015-03-19 09:17:27 +00:00
Miek Gieben
fdf0bff324
Parsing: make it faster.
2015-03-19 09:16:13 +00:00