Ward Vandewege
37db83e5b7
Respond case insensitively to A and SOA requests ( #152 )
...
* When appending the SOA for authoritative NXDOMAIN responses, it needs to go in
the Authoritative section, not the Answer section.
This fixes the acme-dns validation for the lego Let's Encrypt client.
* Respond case-insensitively to A and SOA requests. Add corresponding tests.
This fixes the autocert feature with Let's Encrypt, because Let's Encrypt does
a lookup for the A record with a deliberately mangled case.
2019-02-07 09:16:33 +02:00
Ward Vandewege
41a1cff0ae
When appending the SOA for authoritative NXDOMAIN responses, it needs to go in ( #151 )
...
the Authoritative section, not the Answer section.
This fixes the acme-dns validation for the lego Let's Encrypt client.
2019-02-07 09:13:47 +02:00
Joona Hoikkala
09dc25d336
Update vendored dependencies ( #147 )
...
* Prepare readme for release
* Update vendored packages
* New version of dns dependency handles rejecting UPDATEs under the hood
* Go 1.11 required
2019-02-04 00:21:42 +02:00
Joona Hoikkala
de7fe3cb1d
Fix responses to be more standards compliant ( #145 )
...
* Handle OPT questions (EDNS)
* Handle authoritative bit, and append SOA for authoritative NXDOMAIN responses
* Changelog entry
* Fix linter errors
2019-02-03 20:19:15 +02:00
Joona Hoikkala
7a2f9f06b1
Refactoring DNS server part for safer paraller execution ( #144 )
...
* Refactoring DNS server part for safer paraller execution and better data structures
* Fix linter issues
2019-02-03 17:23:04 +02:00
Joona Hoikkala
c3ac7a211c
DB code for CIDR handling
2016-12-01 00:03:08 +02:00
Joona Hoikkala
c7f7e6cca8
Fixed a typo
2016-11-29 01:14:08 +02:00
Joona Hoikkala
4c437c0506
Added protocol selection to DNS server
2016-11-28 22:46:24 +02:00
Joona Hoikkala
d33bda96fa
New test and test logger stettings
2016-11-28 16:25:42 +02:00
Joona Hoikkala
550b23778f
Better coverage and refactored static record parsing
2016-11-28 15:39:52 +02:00
Joona Hoikkala
e036c191e9
Fiexes for DNS tests
2016-11-28 02:09:01 +02:00
Joona Hoikkala
74b82c87a6
Refactoring
2016-11-27 21:21:38 +02:00
Joona Hoikkala
5072b231af
Refactored tests
2016-11-27 19:41:54 +02:00
Joona Hoikkala
b4cc6b8e81
Test structure fixes
2016-11-26 16:23:22 +02:00
Joona Hoikkala
4269069a54
Went logrus
2016-11-26 15:53:38 +02:00
Joona Hoikkala
3ae7dee8ea
Fixed race conditions in tests
2016-11-26 14:23:08 +02:00
Joona Hoikkala
9ebc0d02ae
Trying to make travis happy
2016-11-26 11:40:28 +02:00
Joona Hoikkala
776c9bc3f2
More DNS tests
2016-11-26 10:40:36 +02:00
Joona Hoikkala
f71b1772c6
DNS tests continued
2016-11-26 10:02:32 +02:00
Joona Hoikkala
8f8262acdd
Begun writing dns.go tests
2016-11-25 18:50:13 +02:00