25 Commits

Author SHA1 Message Date
Joona Hoikkala
5a7bc230b8
Refactoring (#325)
* Refactor core

* Re-added tests

* Small fixes

* Add tests for acmetxt cidrslice and util funcs

* Remove the last dangling reference to old logging package

* Refactoring (#327)

* chore: enable more linters and fix linter issues

* ci: enable linter checks on all branches and disable recurring checks

recurring linter checks don't make that much sense. The code & linter checks should not change on their own over night ;)

* chore: update packages

* Revert "chore: update packages"

This reverts commit 30250bf28c4b39e9e5b3af012a4e28ab036bf9af.

* chore: manually upgrade some packages

* Updated dependencies, wrote changelog entry and fixed namespace for release

* Refactoring - improving coverage (#371)

* Increase code coverage in acmedns

* More testing of ReadConfig() and its fallback mechanism

* Found that if someone put a '"' double quote into the filename that we configure zap to log to, it would cause the the JSON created to be invalid. I have replaced the JSON string with proper config

* Better handling of config options for api.TLS - we now error on an invalid value instead of silently failing.

added a basic test for api.setupTLS() (to increase test coverage)

* testing nameserver isOwnChallenge and isAuthoritative methods

* add a unit test for nameserver answerOwnChallenge

* fix linting errors

* bump go and golangci-lint versions in github actions

* Update golangci-lint.yml

Bumping github-actions workflow versions to accommodate some changes in upstream golanci-lint

* Bump Golang version to 1.23 (currently the oldest supported version)

Bump golanglint-ci to 2.0.2 and migrate the config file.

This should resolve the math/rand/v2 issue

* bump golanglint-ci action version

* Fixing up new golanglint-ci warnings and errors

---------

Co-authored-by: Joona Hoikkala <5235109+joohoi@users.noreply.github.com>

* Minor refactoring, error returns and e2e testing suite

* Add a few tests

* Fix linter and umask setting

* Update github actions

* Refine concurrency configuration for GitHub actions

* HTTP timeouts to API, and self-validation mutex to nameserver ops

---------

Co-authored-by: Florian Ritterhoff <32478819+fritterhoff@users.noreply.github.com>
Co-authored-by: Jason Playne <jason@jasonplayne.com>
2026-02-05 16:04:15 +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
Joona Hoikkala
d695f72963
Fix the default configuration SQLite db path (#143) 2019-02-01 09:55:26 +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
Yannik Sembritzki
f76790426d fix inconsistency between README and actual config (#114)
* fix inconsistency between README and actual config

* clarify example config in sync w/ config.cfg
2018-09-28 00:46:07 +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
5470ba7a41
Remove unused variable and prepare for v0.2 (#22)
* Remove unused variable and prepare for v0.2

* Added new changes to changelog and feature list

* Modified changelog
2018-01-22 12:47:26 +02:00
Joona Hoikkala
665455d319
Docker instructions and configuration (#33)
* Added dockerfile

* Docker configuration

* Added Docker images, composer configuration and documentation
2018-01-22 12:35:07 +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
8b3d3f809f
Merge remote-tracking branch 'origin/master' into cidr-range 2016-12-03 08:37:29 +02:00
Santeri Toikka
b269777304 Documentation updates to config file. 2016-12-02 18:14:02 +02:00
Joona Hoikkala
bf9eaf2f32
Added config option to check for a header value for clinet IP 2016-12-02 17:04:16 +02:00
Joona Hoikkala
4c437c0506
Added protocol selection to DNS server 2016-11-28 22:46:24 +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
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
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