Commit graph

55 commits

Author SHA1 Message Date
Philipp Böhm
13dae077d9 add ACME_AGREE env variable to override sample and remove requirement for changing local path 2019-08-29 08:46:04 +02:00
Philipp Böhm
9d1d6cccdd
Merge pull request #16 from pboehm/build_failures
Fix Build Failures
2019-08-29 08:20:02 +02:00
Philipp Böhm
004db2f793 fix import path for gin-gonic, introduce go module and change base docker image 2019-08-26 12:00:32 +02:00
Philipp Böhm
ba7d494fa3 remove duplicate protocol definition from sample dcker compose file 2018-02-27 18:28:11 +01:00
Philipp Böhm
983249def3 add security notice and change docker compose command to include --build 2018-02-11 22:41:35 +01:00
Philipp Böhm
d7f4f8529d adjust the default docker compose setting to the values used in the override file 2018-02-11 22:26:13 +01:00
Philipp Böhm
ffe0092e41 Fix horrible bug that exposes information about a registered host
Thank you @asterix11 for pointing this out.
2018-02-11 21:20:47 +01:00
Philipp Böhm
2223aca4b6 fix wrong word 2018-01-28 21:28:29 +01:00
Philipp Böhm
e9730f6d31 small fixes in the README 2018-01-28 15:46:16 +01:00
Philipp Böhm
c922c49e48
Merge pull request #2 from pboehm/docker_and_rework
Docker-Setup and Rework
2018-01-28 15:32:34 +01:00
Philipp Böhm
5fdaff0f0e change README 2018-01-28 15:31:31 +01:00
Philipp Böhm
e4232a3118 update year in LICENSE file 2018-01-28 11:57:56 +01:00
Philipp Böhm
365d07dba0 use a smaller base image for building ddns 2018-01-28 11:50:24 +01:00
Philipp Böhm
25d1322902 add getDomainMetadata endpoint which returns an error result 2018-01-28 01:50:07 +01:00
Philipp Böhm
a9167f5d8a disable logging if not started with --verbose 2018-01-28 01:49:41 +01:00
Philipp Böhm
145a1bd3c5 add sample for docker-compose.override.yml which also contains caddy for tls 2018-01-27 22:56:03 +01:00
Philipp Böhm
c842ce6ff7 make redis host configurable through env variable 2018-01-27 21:27:50 +01:00
Philipp Böhm
fd82de0eae change dns api listen port to 8053 which is more like the real dns port 2018-01-27 21:03:46 +01:00
Philipp Böhm
de87bee048 disable dnssec for remote backend 2018-01-27 14:38:58 +01:00
Philipp Böhm
e7985a4619 adjust docker-compose to use seperate backend service 2017-12-03 23:22:29 +01:00
Philipp Böhm
ce032237a8 move config parsing into the shared package 2017-12-03 23:18:47 +01:00
Philipp Böhm
b7c07b86a0 move dnsapi from frontend to backend 2017-12-03 23:07:13 +01:00
Philipp Böhm
887600f964 restructure code into 3 subpackages for backend frontend and shared 2017-12-03 22:42:25 +01:00
Philipp Böhm
0acc5bb1e3 signal error when host lookup was not successful 2017-11-29 22:45:55 +01:00
Philipp Böhm
b17528ab9a add partially working implementation of /dnsapi endpoint 2017-11-29 00:43:00 +01:00
Philipp Böhm
24b7ea6058 Introduce HostLookup and corresponding tests 2017-11-28 23:54:05 +01:00
Philipp Böhm
c2e7b6f2d2 prepare docker setup for http remote backend 2017-11-28 22:26:59 +01:00
Philipp Böhm
33ca0443ff remove restart policy 2017-07-02 23:12:10 +02:00
Philipp Böhm
abcdc9ecd3 fix ddns build 2017-07-02 23:08:36 +02:00
Philipp Böhm
9f4442db79 go fmt 2017-07-02 22:58:07 +02:00
Philipp Böhm
95db447b7c use absolute imports instead of relative 2017-07-02 22:27:41 +02:00
Philipp Böhm
e82621e153 First partial working docker setup
add initial version of docker setup

add configuration via environment variables

remove override file

support docker-compose.override.yml

add up2date pdns container
2017-07-02 20:54:54 +02:00
Philipp Böhm
6af394aa2f refactor ddns into several packages and add tests for most important
components

WIP

restructure code into separate packages + add tests for request handling

more documentation for methods

remove useless comment
2017-07-02 20:46:28 +02:00
Philipp Böhm
5f52d85cf3 Fix for NS record response 2014-09-21 18:17:50 +02:00
Philipp Böhm
c3641cfdda Make ddns behave more standard conform, like SOA records 2014-09-21 17:27:26 +02:00
Philipp Böhm
7dbcc66298 Moved template into constant variable to get rid of bindata 2014-08-24 18:44:48 +02:00
Philipp Böhm
9e9cf49b0d Fixes for latest gin api changes 2014-07-29 20:33:39 +02:00
Philipp Böhm
64f0703c67 Added --verbose flag and logging for backend 2014-07-29 20:23:45 +02:00
Philipp Böhm
f5acffa2c5 Added installing notes to README 2014-07-16 21:36:02 +02:00
Philipp Böhm
b3b91edf7d Added some more infos to README 2014-07-16 15:30:53 +02:00
Philipp Böhm
d1977a588f Moved connection into separate file in root dir 2014-07-16 15:03:06 +02:00
Philipp Böhm
03c909fca7 Changed redis connection to use a pool 2014-07-16 14:14:16 +02:00
Philipp Böhm
f5ee141894 Frontend + hostname validation 2014-07-16 01:10:35 +02:00
Philipp Böhm
3015b873cb refactored web component 2014-07-15 23:41:54 +02:00
Philipp Böhm
73ea58378a Refactored Backend 2014-07-15 23:26:50 +02:00
Philipp Böhm
86f922a472 Refactored both main functions into own file 2014-07-15 23:12:27 +02:00
Philipp Böhm
a018e2d33d Backend now determines the hostname by subtracting the domain 2014-07-15 22:58:12 +02:00
Philipp Böhm
b3d993b0eb Added command line flag for domain 2014-07-15 21:48:15 +02:00
Philipp Böhm
0b1e3055d5 Added settings through environment vars 2014-07-15 19:20:11 +02:00
Philipp Böhm
947a556871 Added health check for redis connection 2014-07-15 18:21:11 +02:00