From 35e88be03f013e0ae240b6ec9b73fdd8d36ed75e Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Thu, 21 Sep 2023 22:04:15 -0500 Subject: ddclient: T5612: Refactor zone configuration Refactor zone configuration to use shared XML snippet for all cases. --- interface-definitions/dns-dynamic.xml.in | 23 ++-------------------- .../include/dns/dynamic-service-zone.xml.i | 14 +++++++++++++ 2 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 interface-definitions/include/dns/dynamic-service-zone.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/dns-dynamic.xml.in b/interface-definitions/dns-dynamic.xml.in index 94e0645d4..8d08bf37d 100644 --- a/interface-definitions/dns-dynamic.xml.in +++ b/interface-definitions/dns-dynamic.xml.in @@ -74,18 +74,7 @@ #include - - - Forwarding zone to be updated - - txt - RFC2136 Zone to be updated - - - - - - + #include @@ -112,15 +101,7 @@ - - - DNS zone to update (not used by all protocols) - - txt - Name of DNS zone - - - + #include IP address version to use diff --git a/interface-definitions/include/dns/dynamic-service-zone.xml.i b/interface-definitions/include/dns/dynamic-service-zone.xml.i new file mode 100644 index 000000000..0cc00468f --- /dev/null +++ b/interface-definitions/include/dns/dynamic-service-zone.xml.i @@ -0,0 +1,14 @@ + + + + DNS zone to be updated + + txt + Name of DNS zone + + + + + + + -- cgit v1.2.3