/*
* API Reference: https://api.gandi.net/docs/livedns/
+ *
* Some similar implementations:
* - https://github.com/rmarchant/gandi-ddns/blob/master/gandi_ddns.py
* - https://github.com/brianhp2/gandi-automatic-dns
*
- * TODO:
- * - Log to stdout with (at least) timestamps.
- * - Renew function.
*/
#![cfg_attr(debug_assertions, allow(unused_variables, unused_imports, dead_code))]
const FILE_CONF: &str = "config.ron";
fn main() -> Result<()> {
-
- println!("GANDI DynDNS");
+ println!("=== GANDI LiveDNS updater ===");
let config = Config::read(FILE_CONF)?;