Commit Graph

22 Commits

Author SHA1 Message Date
835fbb9ef6 Migrate to GitHub actions for coverage & unit test automation (#251) 2021-01-11 17:31:09 +02:00
aa3e7e1b75 Migrate over to certmagic from using autocert (#190)
* Use certmagic for challenge validation

* WIP

* Get the correct key

* Override preflight check logic

* Fix logging for imported packages and tidy config.cfg

* Fix test and add docstrings

* Update README
2019-10-20 22:52:19 +03:00
af542b44a9 Proper EDNS0 (non)support (#188)
* Proper EDNS0 (non)support

* Add changelog entry

* Add EDNS0 tests
2019-10-18 22:24:56 +03:00
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
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
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
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
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
3bb130d055 Refuse dynamic updates properly (#124) 2018-10-31 15:01:42 +02:00
4d214d7f52 return cname if requested RR was not found and cname exists 2018-03-03 11:24:32 +01:00
733245fb3d Support for multiple TXT records per subdomain (#29)
* Support for multiple TXT records per subdomain and database upgrade functionality

* Linter fixes

* Make sure the database upgrade routine works for PostgreSQL

* Move subdomain query outside of the upgrade transaction
2018-01-22 09:53:07 +02:00
41b2ff5940 Use iris v6 and Go 1.8+ (#10)
* Quick fixes to bring framework up to date

* Script for test running, api tests need complete rewrite

* Removed govendor from tests

* Fix for AutoTLS
2017-08-02 19:25:27 +03:00
d33bda96fa New test and test logger stettings 2016-11-28 16:25:42 +02:00
550b23778f Better coverage and refactored static record parsing 2016-11-28 15:39:52 +02:00
5072b231af Refactored tests 2016-11-27 19:41:54 +02:00
4269069a54 Went logrus 2016-11-26 15:53:38 +02:00
670c20f904 Refactoring and comments 2016-11-23 22:12:43 +02:00
ba63bad793 Refactoring 2016-11-23 22:12:43 +02:00
d30860eeb8 Coding style fixes 2016-11-23 22:12:42 +02:00
8803c0d58b Be case-insensitive with answers 2016-11-13 20:35:11 +02:00
ed56a11e88 Refactoring, alpha v0.1 2016-11-13 14:50:44 +02:00
5433444b2f Initial commit, PoC quality 2016-11-11 16:48:00 +02:00