Joona Hoikkala
a33c09accf
Deps update ( #289 )
...
* Dependency version bumps and according fixes & touchups
* Change to async to avoid interactive dialogs
* Move the Let's Encrypt environment selection to proper place
2022-01-26 00:26:45 +02:00
Joona Hoikkala
835fbb9ef6
Migrate to GitHub actions for coverage & unit test automation ( #251 )
2021-01-11 17:31:09 +02:00
Brett Keller
035a219f9f
Add support for LE expiration notification e-mails on API cert ( #227 )
2021-01-11 14:35:54 +02:00
Joona Hoikkala
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
Ward Vandewege
5651772837
Make sure to initialize the SOA record for the tcp server, too. ( #149 )
2019-02-06 12:09:01 +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
Marvin Blum
aff13a02fb
Added http health check endpoint. ( #137 )
...
* Added http health check endpoint.
* Fixed performing POST on GET endpoint.
* Explicitly return http status 200 in health check endpoint.
* Updated changelog.
2019-01-25 19:22:53 +02:00
Joona Hoikkala
f64de0353d
Fix Docker instructions and add option to bind both UDP and TCP DNS listeners ( #130 )
2018-12-13 12:19:10 +02:00
Joona Hoikkala
c2c5c5cd70
Better error handling in goroutines ( #122 )
...
* More robust goroutine error handling using channels
* Fix tests and make startup log msg saner
* Clarification to README and config file
2018-10-31 00:54:51 +02:00
Stefan Bethke
db2a6bc288
Cmd line flag -c
for config location ( #108 )
...
Add command line parsing and a flag `-c` to specify where the config
file should be loaded from.
2018-09-21 13:38:23 +03:00
Joona Hoikkala
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
Joona Hoikkala
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
Andrew Meyer
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
Joona Hoikkala
5c2e60a828
Add configuration option to disable registration endpoint ( #51 )
2018-03-14 23:35:39 +02:00
Joona Hoikkala
562d7cbad4
Make autocert use HTTP-01 challenge instead of TLS-SNI ( #36 )
2018-02-01 10:53:34 +02:00
Joona Hoikkala
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
Joona Hoikkala
ba695134ce
Make cors messages respect the debug flag ( #25 )
2017-11-15 21:35:35 +02:00
Joona Hoikkala
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
Koen Vlaswinkel
93871a7cec
Fix config not being used ( #19 )
2017-11-14 13:01:46 +02:00
Joona Hoikkala
9c54da3ee6
Try to read config from under /etc ( #18 )
2017-11-14 00:42:30 +02:00
Joona Hoikkala
c70a6cffb0
Go 1.9 and Iris v8, added possibility to bind to IP ( #15 )
2017-11-12 23:40:15 +02:00
Joona Hoikkala
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
Joona Hoikkala
2bfeedda4c
Fixed iris version to v5 api ( #9 )
2017-01-30 12:19:22 +02:00
Joona Hoikkala
5f68d84ca5
Removed register GET request in favor of POST, and did required HTTP api changes
2016-12-02 15:42:10 +02:00
Joona Hoikkala
4c437c0506
Added protocol selection to DNS server
2016-11-28 22:46:24 +02:00
Joona Hoikkala
550b23778f
Better coverage and refactored static record parsing
2016-11-28 15:39:52 +02:00
Joona Hoikkala
3154c686e0
Skip main in tests for meaningful cover stats
2016-11-28 15:00:12 +02:00
Joona Hoikkala
805c7dd2cf
Moved global vars to types.go
2016-11-28 13:13:45 +02:00
Joona Hoikkala
74f160114b
Moved HTTP server methods to main
2016-11-28 13:09:10 +02:00
Joona Hoikkala
4615826267
Made DB an interface
2016-11-27 23:21:46 +02:00
Joona Hoikkala
e9f18c99d8
Refactoring main.go
2016-11-27 22:09:13 +02:00
Joona Hoikkala
74b82c87a6
Refactoring
2016-11-27 21:21:38 +02:00
Joona Hoikkala
4269069a54
Went logrus
2016-11-26 15:53:38 +02:00
Joona Hoikkala
670c20f904
Refactoring and comments
2016-11-23 22:12:43 +02:00
Joona Hoikkala
ba63bad793
Refactoring
2016-11-23 22:12:43 +02:00
Joona Hoikkala
f32c4940e1
Logging changes
2016-11-23 22:12:43 +02:00
Joona Hoikkala
546a35ed00
Added PostgreSQL support
2016-11-23 22:12:42 +02:00
Joona Hoikkala
d30860eeb8
Coding style fixes
2016-11-23 22:12:42 +02:00
Joona Hoikkala
c1277e1aa3
Added CORS support
2016-11-16 14:56:49 +02:00
Joona Hoikkala
9b452f69ff
Moved static records to more intuitive place
2016-11-15 09:27:34 +02:00
Joona Hoikkala
ed56a11e88
Refactoring, alpha v0.1
2016-11-13 14:50:44 +02:00
Joona Hoikkala
5433444b2f
Initial commit, PoC quality
2016-11-11 16:48:00 +02:00