From 12544affe9d9a47c767f9e7a314e165b293ece22 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 9 Mar 2023 13:06:06 +0000 Subject: [PATCH] ddns-scripts: Add v2 API for mythic-beasts.com provider Use USERNAME as the key, PASSWORD as the secret. Signed-off-by: Jim Hague --- net/ddns-scripts/Makefile | 2 +- .../usr/share/ddns/default/mythic-beasts.com-v2.json | 9 +++++++++ net/ddns-scripts/files/usr/share/ddns/list | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/ddns-scripts/files/usr/share/ddns/default/mythic-beasts.com-v2.json diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 1f35ed7d82..19bebeef04 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=36 +PKG_RELEASE:=37 PKG_LICENSE:=GPL-2.0 diff --git a/net/ddns-scripts/files/usr/share/ddns/default/mythic-beasts.com-v2.json b/net/ddns-scripts/files/usr/share/ddns/default/mythic-beasts.com-v2.json new file mode 100644 index 0000000000..e246223805 --- /dev/null +++ b/net/ddns-scripts/files/usr/share/ddns/default/mythic-beasts.com-v2.json @@ -0,0 +1,9 @@ +{ + "name": "mythic-beasts.com (API v2)", + "ipv4": { + "url": "https://[USERNAME]:[PASSWORD]@ipv4.api.mythic-beasts.com/dns/v2/dynamic/[DOMAIN]" + }, + "ipv6": { + "url": "https://[USERNAME]:[PASSWORD]@ipv6.api.mythic-beasts.com/dns/v2/dynamic/[DOMAIN]" + } +} diff --git a/net/ddns-scripts/files/usr/share/ddns/list b/net/ddns-scripts/files/usr/share/ddns/list index c55115c159..86902313a0 100644 --- a/net/ddns-scripts/files/usr/share/ddns/list +++ b/net/ddns-scripts/files/usr/share/ddns/list @@ -41,6 +41,7 @@ moniker.com mydns.jp myonlineportal.net mythic-beasts.com +mythic-beasts.com-v2 namecheap.com njal.la no-ip.pl