Compare commits

...

3 Commits

Author SHA1 Message Date
FoxyHunter 9d0e005ee5 Update README.md 2026-06-02 21:52:01 +00:00
FoxyHunter 066c991ab1 Fix: copy cert.pem from builder too 2026-06-01 22:47:21 +02:00
FoxyHunter 0afbc8ccf9 Fix: add missing cjson and zstd static libraries to Dockerfile 2026-06-01 22:13:18 +02:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -9,6 +9,9 @@ RUN apk add --no-cache \
curl-dev \ curl-dev \
curl-static \ curl-static \
cjson-dev \ cjson-dev \
cjson-static \
zstd-dev \
zstd-static \
openssl-dev \ openssl-dev \
openssl-libs-static \ openssl-libs-static \
nghttp2-dev \ nghttp2-dev \
@@ -34,6 +37,7 @@ RUN make STATIC=1
FROM scratch FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/cert.pem
COPY --from=builder /build/build/dns-keeper /dns-keeper COPY --from=builder /build/build/dns-keeper /dns-keeper
ENTRYPOINT ["/dns-keeper"] ENTRYPOINT ["/dns-keeper"]
+1 -1
View File
@@ -11,7 +11,7 @@ Every `POLL_INTERVAL` seconds, DNS Keeper will check if the IPv4 in the domain(s
valid by seeing if `DNS_KEEPER_RECORD`.`DNS_KEEPER_DOMAIN` still points to itself. valid by seeing if `DNS_KEEPER_RECORD`.`DNS_KEEPER_DOMAIN` still points to itself.
> [!NOTE] > [!NOTE]
> On startup DNS Keeper starts a detached thread with a UDP socket on which it answers with > On startup DNS Keeper starts a detached thread with a UDP socket on which it answers
> a random set of challenge bytes. > a random set of challenge bytes.
> DNS Keeper will send an empty data-frame to its own socket using > DNS Keeper will send an empty data-frame to its own socket using
> the DNS resolved IPv4 address to see if it gets a response with the correct challenge bytes. > the DNS resolved IPv4 address to see if it gets a response with the correct challenge bytes.