From 699d909e2d784d98bc5840c1a8064f9a3fef29cd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 28 Jun 2023 12:05:51 +0200 Subject: [PATCH] docs: add TODO --- README.md | 6 ++++++ packaging/PKGBUILD | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 83647fb..ca625ea 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,12 @@ There is an [example configuration](cfg/example.json). ## TODOs +Caching: + +- Add parameter `--cache` which saves retrieved DNS records as JSON files. +- The method `update_record_destination` will then check if the arguments are the same as the saved JSON record. +- Only if they differ, any requests to the API endpoint will be made. + Alternative external IP detection: ```python diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD index 1e89f30..324d8ba 100644 --- a/packaging/PKGBUILD +++ b/packaging/PKGBUILD @@ -5,7 +5,7 @@ _name=netcup-dns pkgname="python-$_name-git" -pkgver=r18.0485c33 +pkgver=r20.cdad070 pkgrel=1 pkgdesc='update DNS records with your current external IP address using the netcup DNS API' arch=(any)