Skip to content

Commit f771ae3

Browse files
committed
Add threads as a dependecy, add notice DoH logs
Adding 'threads' as a dependency fix a linking error on Debian 10, and I also noticed that in that Debian release libcurl gets verbose on its own when doing DNS over HTTPS lookups because of curl/curl#3660.
1 parent 71a5d80 commit f771ae3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ To build cloudflare-ddns you'll need to install `meson`, `pkg-config`, `cmake`,
1818

1919
After having installed the dependencies, you can build the program with `meson setup build --buildtype=relese` and then `meson compile -C build`. If your Meson version is too old, you have to run `ninja -C build` instead of `meson compile`.
2020

21+
If your libcurl is older than version 7.64.1 (for example in Debian 10) you'll see a lot of connection logs related to DNS over HTTPS lookups; that's a [libcurl bug](https://github.com/curl/curl/issues/3660), and there's nothing I can do about it :/
22+
2123
## Systemd timer
2224

2325
Here's an example of a systemd service + timer that checks and eventually updates one DNS record

meson.build

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ executable(
1515
sources: 'cloudflare-ddns/main.cpp',
1616
dependencies: [
1717
dependency('libcurl'),
18-
dependency('simdjson')
18+
dependency('simdjson'),
19+
dependency('threads')
1920
],
2021
cpp_args: '-DOPENSSL_NO_SSL3_METHOD'
2122
)

0 commit comments

Comments
 (0)