From: Greg Burri Date: Fri, 16 Jul 2021 09:36:07 +0000 (+0200) Subject: Display the hostname when renewing. X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=301a3967dda91ca6aee98a894f0b3d07d5c090e5;p=gandi_dns_update.git Display the hostname when renewing. --- 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); } }