Compare commits
5 Commits
42ef38f147
...
0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d0e005ee5 | |||
| 066c991ab1 | |||
| 0afbc8ccf9 | |||
| 6613831f7a | |||
| f19a29dd93 |
@@ -52,3 +52,6 @@ Module.symvers
|
|||||||
Mkfile.old
|
Mkfile.old
|
||||||
dkms.conf
|
dkms.conf
|
||||||
|
|
||||||
|
# Build output
|
||||||
|
build/
|
||||||
|
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user