From 301a3967dda91ca6aee98a894f0b3d07d5c090e5 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Fri, 16 Jul 2021 11:36:07 +0200 Subject: [PATCH] Display the hostname when renewing. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f9d8f4e..4b0d196 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ fn check_and_update_dns(api_key: &str, domains: &Vec<(String, String)>, ttl: i32 if real_ip != current_ip { println!("IP addresses don't match for domain {}: real = {}, dns = {}. Renewing DNS...", domain, real_ip, current_ip); update_record_ip(api_key, hostname, domain, real_ip, ttl)?; - println!("Renewing of {} successfully", domain); + println!("Renewing of {}.{} successfully", hostname, domain); } } -- 2.45.1