From 7a1711419eeaaf6bee837e824eec977b16767427 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 93b1dbc23..ba7f426c1 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 @@ -113,15 +102,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