Compare commits

..

5 Commits

4 changed files with 12 additions and 5 deletions
+3
View File
@@ -52,3 +52,6 @@ Module.symvers
Mkfile.old Mkfile.old
dkms.conf dkms.conf
# Build output
build/
+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.