From 0d4d4dd840e06c18250d73f27de61261ff141944 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 3 Dec 2019 22:01:19 +0100 Subject: T1843: run interface-definitions though GCC preprocessor A lot of XML code is duplicated (VLAN, interface address) for instance. Such XML definitions should be moved to feature.xml.i files and then just pulled in via GCC preprocessor #include definition in e.g. bond or ethernet definitions. This will give us the ability to single-source repeating node definitions as: * Interface Address * Interface Description * Interface Disable * VLAN (both vif-s and vif-c) The .in suffix of the interface-definitions is a marker that those files are input files to the GCC preprocessor. They will be rendered into proper XML files in the build directory. Some node definitions have been reworder to remove escaped double quote occurances which would have been warned about by the GCC preprocessor. --- interface-definitions/dns-dynamic.xml.in | 230 +++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 interface-definitions/dns-dynamic.xml.in (limited to 'interface-definitions/dns-dynamic.xml.in') diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in new file mode 100644 index 000000000..8e7e77475 --- /dev/null +++ b/interface-definitions/dns-dynamic.xml.in @@ -0,0 +1,230 @@ + + + + + + + + Domain Name System related services + + + + + Dynamic DNS + 919 + + + + + Interface to send DDNS updates for [REQUIRED] + + + + + + + + RFC2136 Update name + + + + + File containing the secret key shared with remote DNS server [REQUIRED] + + file + File in /config/auth directory + + + + + + Record to be updated [REQUIRED] + + + + + + Server to be updated [REQUIRED] + + + + + Time To Live (default: 600) + + 1-86400 + DNS forwarding cache size + + + + + + + + + Zone to be updated [REQUIRED] + + + + + + + Service being used for Dynamic DNS [REQUIRED] + + custom afraid changeip cloudflare dnspark dslreports dyndns easydns namecheap noip sitelutions zoneedit + + + custom + Custom or predefined service + + + afraid + + + + changeip + + + + cloudflare + + + + dnspark + + + + dslreports + + + + dyndns + + + + easydns + + + + namecheap + + + + noip + + + + sitelutions + + + + zoneedit + + + + + + + Hostname registered with DDNS service [REQUIRED] + + + + + + Login for DDNS service [REQUIRED] + + + + + Password for DDNS service [REQUIRED] + + + + + ddclient protocol used for DDNS service [REQUIRED FOR CUSTOM] + + protocol + ddclient protocol + + + changeip + + + + cloudflare + + + + dnspark + + + + dslreports1 + + + + dyndns2 + + + + easydns + + + + namecheap + + + + noip + + + + sitelutions + + + + zoneedit1 + + + + + + + Server to send DDNS update to [REQUIRED FOR CUSTOM] + + IPv4 + IP address of DDNS server + + + FQDN + Hostname of DDNS server + + + + + + + + Web check used for obtaining the external IP address + + + + + Skip everything before this on the given URL + + + + + URL to obtain the current external IP address + + + + + + + + + + + + + -- cgit v1.2.3