From: Greg Burri Date: Tue, 13 Jul 2021 18:31:07 +0000 (+0200) Subject: Display the DNS update response X-Git-Url: http://git.euphorik.ch/?a=commitdiff_plain;h=f66ea654402cb0a44d075466a1a55a89b5512e4a;hp=0105f94329a15953945600612681aa82176d500f;p=gandi_dns_update.git Display the DNS update response --- diff --git a/src/main.rs b/src/main.rs index 280b718..67c251a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -175,5 +175,7 @@ fn update_record_ip(api_key: &str, name: &str, fqdn: &str, ip: Ipv4Addr, ttl: i3 let json_value = request_livedns_gandi(api_key, &format!("domains/{}/records/{}/A", fqdn, name), Method::Put(json_body.to_string()))?; + println!("Update response: {}", json_value); + Ok(()) }