Commit Graph

32 Commits

Author SHA1 Message Date
0fc5a8e848 Use umask 0077 across the process in order to have the created files readable only by the acme-dns user (#102) 2018-08-12 20:06:54 +03:00
856cc05881 Added supplementary error checking (#99)
* Added supplementary errorichecking

* After running util.go through gofmt

* Updated main and util

* Minor updates to main and util

* Slight refactoring

* Add tests
2018-08-12 18:49:17 +03:00
3006cb712b Make ACME cache directory location configurable (#81)
* Remove trailing whitespace from README and config

* Make ACME cache directory location configurable
2018-05-14 13:42:39 +03:00
5c2e60a828 Add configuration option to disable registration endpoint (#51) 2018-03-14 23:35:39 +02:00
562d7cbad4 Make autocert use HTTP-01 challenge instead of TLS-SNI (#36) 2018-02-01 10:53:34 +02: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
ba695134ce Make cors messages respect the debug flag (#25) 2017-11-15 21:35:35 +02:00
fd9ce4606d Get rid of Iris and use julienschmidt/httprouter instead (#20)
* Replace iris with httprouter

* Linter fixes

* Finalize iris removal

* Vendor dependencies for reproducable builds

* Api tests are back
2017-11-14 23:54:29 +02:00
93871a7cec Fix config not being used (#19) 2017-11-14 13:01:46 +02:00
9c54da3ee6 Try to read config from under /etc (#18) 2017-11-14 00:42:30 +02:00
c70a6cffb0 Go 1.9 and Iris v8, added possibility to bind to IP (#15) 2017-11-12 23:40:15 +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
2bfeedda4c Fixed iris version to v5 api (#9) 2017-01-30 12:19:22 +02:00
5f68d84ca5 Removed register GET request in favor of POST, and did required HTTP api changes 2016-12-02 15:42:10 +02:00
4c437c0506 Added protocol selection to DNS server 2016-11-28 22:46:24 +02:00
550b23778f Better coverage and refactored static record parsing 2016-11-28 15:39:52 +02:00
3154c686e0 Skip main in tests for meaningful cover stats 2016-11-28 15:00:12 +02:00
805c7dd2cf Moved global vars to types.go 2016-11-28 13:13:45 +02:00
74f160114b Moved HTTP server methods to main 2016-11-28 13:09:10 +02:00
4615826267 Made DB an interface 2016-11-27 23:21:46 +02:00
e9f18c99d8 Refactoring main.go 2016-11-27 22:09:13 +02:00
74b82c87a6 Refactoring 2016-11-27 21:21:38 +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
f32c4940e1 Logging changes 2016-11-23 22:12:43 +02:00
546a35ed00 Added PostgreSQL support 2016-11-23 22:12:42 +02:00
d30860eeb8 Coding style fixes 2016-11-23 22:12:42 +02:00
c1277e1aa3 Added CORS support 2016-11-16 14:56:49 +02:00
9b452f69ff Moved static records to more intuitive place 2016-11-15 09:27:34 +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