From 2f278d4dd00caf2b30b3908545d982062a6eb68d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 8 May 2023 08:32:35 +0200 Subject: dns: T4144: additional improvements to dynamic DNS XML definitions * Re-use XML building blocks when poossible * Use XML constraints when possible (password) * Capitalize protocols (HTTP) in strings --- interface-definitions/dns-dynamic.xml.in | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in index 3e77e2540..48c101d73 100644 --- a/interface-definitions/dns-dynamic.xml.in +++ b/interface-definitions/dns-dynamic.xml.in @@ -135,19 +135,19 @@ Hostname to register with Dynamic DNS service + + #include + + Host-name must be alphanumeric and can contain hyphens - Login for Dynamic DNS service (not used by all protocols, or referred as api-token in some cases) - - - - - Password for Dynamic DNS service (referred as api-token, global-token or api-secret in some cases) + Login/Username for Dynamic DNS service + #include ddclient protocol used for Dynamic DNS service @@ -163,25 +163,29 @@ DNS zone to update (not used by all protocols) + + txt + Name of DNS zone + - Use http(s) web request to obtain the external IP address instead of the IP address associated with the interface + Use HTTP(S) web request to obtain external IP address instead of the IP address associated with the interface - Text pattern to skip from the respose of the given URL to extract the external IP address - - - - - Custom URL to obtain the current external IP address over http(s) web request, overriding ddclient default + Pattern to skip from the respose + + txt + Pattern to skip from the respose of the given URL to extract the external IP address + + #include -- cgit v1.2.3