aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-05-13 14:58:27 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-05-13 14:58:27 +0200
commit2f10102149eba12913855c77e2bbb6c0f44eab85 (patch)
treedc2bd8baef932e7e907f529dfb37d3e0c6e42dcb
parent41d888b8dd478e4d3d09c83cdf39138702573126 (diff)
document dns resolving ability if used in conjunction with dnsd and other rsdsl components
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8643823..5f79a89 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -236,6 +236,8 @@ fn configure_local(
*local.lock().unwrap() = ip_config.addr;
for i in 0..3 {
+ // This can resolve DNS just fine as long as dnsd is running
+ // and has an internet connection.
match reqwest::blocking::get(&config.updt) {
Ok(v) => {
v.error_for_status()?;