Hello, pushed to master: 3d9e6072e6b212b7fa1b54be40bbc1e56941b400 Bump NVR to 10.0. be88f6a9f34c5b1ee0021d9cf0a0e4b4d5ce43ba Update NEWS for upcoming 10.0 release. d0530e6197ef36664e94ee8938b14d83145cfa8a Docs: Descibe record template (idnsTemplateObject). ee1239f79ddfa53619a8901de942ef44127ea67f Docs: Describe per-server configuration object (idnsServerConfigObject). 28b015625068287f19d432bc58ac85da559976f0 Docs: Describe global configuration object (idnsConfigObject).
-- Petr^2 Spacek
From 28b015625068287f19d432bc58ac85da559976f0 Mon Sep 17 00:00:00 2001 From: Petr Spacek <pspa...@redhat.com> Date: Fri, 17 Jun 2016 16:34:12 +0200 Subject: [PATCH] Docs: Describe global configuration object (idnsConfigObject). --- README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README b/README index 5e5561dfb0d3e8727b2f9a241703e3584bdfaf4c..a6aaa0c5e221ce284920b1cf205b0fca09622cfd 100644 --- a/README +++ b/README @@ -224,6 +224,22 @@ Unloaded empty zones will not be loaded back even if the forward zone is later deleted. The empty zones will be loaded on each BIND reload. +4.3 Global configuration object (idnsConfigObject) +-------------------------------------------------- +Object class idnsConfigObject provides global configuration common +for all zones. + +Attributes: +* idnsAllowSyncPTR + Semantics is equivalent to "sync_ptr" option described in plugin's + config and to idnsAllowSyncPTR attribute in idnsZone. + +* idnsForwarders +* idnsForwardPolicy + Semantics is equivalent to "forward" statement in named.conf. + Syntax is the same as in forward zone, please see previous section. + + 5. Configuration ================ -- 2.5.5
From ee1239f79ddfa53619a8901de942ef44127ea67f Mon Sep 17 00:00:00 2001 From: Petr Spacek <pspa...@redhat.com> Date: Fri, 17 Jun 2016 17:42:25 +0200 Subject: [PATCH] Docs: Describe per-server configuration object (idnsServerConfigObject). https://fedorahosted.org/bind-dyndb-ldap/ticket/162 --- README | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README b/README index a6aaa0c5e221ce284920b1cf205b0fca09622cfd..d97ac78901f310761df2589fedc1e764deebb939 100644 --- a/README +++ b/README @@ -240,6 +240,37 @@ Attributes: Syntax is the same as in forward zone, please see previous section. +4.4 Per-server configuration object (idnsServerConfigObject) +------------------------------------------------------------ +Object class idnsConfigObject provides global configuration common +for all zones. A plugin instance will read configuration +only from entries with matching idnsServerId. + +Attributes: +* idnsServerId + Configuration identifier (arbitrary string). + A plugin instance will use only objects whose idnsServerId value + matches server_id value in plugin's config. + +* idnsForwarders +* idnsForwardPolicy + Same meaning as in global configuration object (idnsConfigObject). + +* idnsSOAmName + Equivalent to fake_mname option in plugin's config. + +* idnsSubstitutionVariable + This attribute associates string value with user-defined name. + These named variables can be used later in record template processing. + Variable name is specified as LDAP sub-type. (The attribute cannot be + used without sub-type. Exactly one instance of each sub-type + is required.) + For further information please see + https://fedorahosted.org/bind-dyndb-ldap/wiki/Design/RecordGenerator + + LIMITATION: Current plugin version supports only "ipalocation" variable + + 5. Configuration ================ -- 2.5.5
From d0530e6197ef36664e94ee8938b14d83145cfa8a Mon Sep 17 00:00:00 2001 From: Petr Spacek <pspa...@redhat.com> Date: Fri, 17 Jun 2016 17:42:51 +0200 Subject: [PATCH] Docs: Descibe record template (idnsTemplateObject). https://fedorahosted.org/bind-dyndb-ldap/ticket/126 --- README | 35 +++++++++++++++++++++++++++++++++++ doc/schema.ldif | 7 +++++++ 2 files changed, 42 insertions(+) diff --git a/README b/README index d97ac78901f310761df2589fedc1e764deebb939..2fd09b5aa4816e0117c55714d6dce546e30d8965 100644 --- a/README +++ b/README @@ -271,6 +271,41 @@ Attributes: LIMITATION: Current plugin version supports only "ipalocation" variable +4.5 Record template (idnsTemplateObject) +---------------------------------------- +Object class idnsTemplateObject provides facility for dynamic resource record +generation. The template entry must contain idnsTemplateAttribute with +string template. + +Optionally the same entry can contain statically defined resource records +in *Record attributes. All statically defined record values are ignored +when template is present and substitution into template is successful. +The substitution is successful only if all variables used +by the template string are defined. + +Attributes: +* idnsTemplateAttribute + String subtitution template. All occurrences of \{variable_name\} + are replaced with respective strings from plugin configuration. + Remaining parts of the original string are just copied into the output. + + Double-escaped strings \\{ \\} do not trigger substitution. + Nested references will expand only innermost variable: \{\{var1\}\} + Non-matching parentheses and other garbage will be copied verbatim + without triggering an error. + + Resulting resource record type is specified as LDAP sub-type. + (The attribute cannot be used without sub-type. + Exactly one instance of each sub-type is required.) + + Example - LDIF snippet: + idnsSubstitutionVariable;ipalocation: brno + idnsTemplateAttribute;CNAMERecord: server.\{substitutionvariable_ipalocation\} + will generate CNAME record: server.brno + For further information please see + https://fedorahosted.org/bind-dyndb-ldap/wiki/Design/RecordGenerator + + 5. Configuration ================ diff --git a/doc/schema.ldif b/doc/schema.ldif index 2420b1aa2cf28181a688b46df165e58c9eb66cb6..8fdc99f8d825741fde0760bb346dc84b25f58928 100644 --- a/doc/schema.ldif +++ b/doc/schema.ldif @@ -422,3 +422,10 @@ objectClasses: ( 2.16.840.1.113730.3.8.6.6 MAY ( idnsSOAmName $ idnsForwarders $ idnsForwardPolicy $ idnsSubstitutionVariable ) ) +# +objectClasses: ( 2.16.840.1.113730.3.8.6.5 + NAME 'idnsTemplateObject' + DESC 'Template object for dynamic DNS attribute generation' + SUP top + AUXILIARY + MUST ( idnsTemplateAttribute ) ) -- 2.5.5
From be88f6a9f34c5b1ee0021d9cf0a0e4b4d5ce43ba Mon Sep 17 00:00:00 2001 From: Petr Spacek <pspa...@redhat.com> Date: Tue, 21 Jun 2016 12:22:13 +0200 Subject: [PATCH] Update NEWS for upcoming 10.0 release. --- NEWS | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/NEWS b/NEWS index 160045bfc072e3560f20c6013b739998eb7c067a..32414b8a5cd466619b0b875df5ac19fd660c6512 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,40 @@ +10.0 +==== +[1] Default TTL can be configured at zone level in dNSdefaultTTL attribute. + Please note that changes may not be applied until server reload. + https://fedorahosted.org/bind-dyndb-ldap/ticket/70 + +[2] Certain subset of configuration options can be specified + in idnsServerConfigObject in LDAP. Each bind-dyndb-ldap instance will + only use values from object with idnsServerId attribute matching server_id + configured in named.conf. This can be used for per-server configuration + in shared LDAP tree. + https://fedorahosted.org/bind-dyndb-ldap/ticket/162 + +[2] fake_mname option can be specified in idnsServerConfigObject in LDAP. + Please note that changes may not be applied until server reload. + https://fedorahosted.org/bind-dyndb-ldap/ticket/162 + +[3] Per-server global forwarders can be configured in idnsServerConfigObject. + https://fedorahosted.org/bind-dyndb-ldap/ticket/162 + +[4] Dynamic record generation using idnsTemplateObject and + idnsSubstitutionVariable;ipalocation attribute from idnsServerConfigObject + is supported. Please see README. + Please note that changes may not be applied until server reload. + https://fedorahosted.org/bind-dyndb-ldap/ticket/126 + +[5] Forwarding configuration is properly ignored for disabled master zones. + +[6] Interaction between DNS root zone and global forwarding is now + deterministic and root zone has higher priority over global forwarding. + +[7] Various problems in internal event processing were fixed. + +[8] Potential crash in early start-up phase was fixed. + +[9] Compatibility with BIND >= 9.10.4b1 was improved + 9.0 ==== [1] Automatic empty zones conflicting with forward zones with policy 'only' -- 2.5.5
From 3d9e6072e6b212b7fa1b54be40bbc1e56941b400 Mon Sep 17 00:00:00 2001 From: Petr Spacek <pspa...@redhat.com> Date: Tue, 21 Jun 2016 12:25:07 +0200 Subject: [PATCH] Bump NVR to 10.0. --- configure.ac | 2 +- contrib/bind-dyndb-ldap.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7ce8e306c76cafc92ba970e63aa40f901776381a..6cdcefe2139537d912a3ed034638c9cbf6224922 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.59]) -AC_INIT([bind-dyndb-ldap], [9.0], [freeipa-devel@redhat.com]) +AC_INIT([bind-dyndb-ldap], [10.0], [freeipa-devel@redhat.com]) AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) diff --git a/contrib/bind-dyndb-ldap.spec b/contrib/bind-dyndb-ldap.spec index ea860aabd7f40f7d4e36db2edabfa4289de2e6b1..063296611f6bc9c298911839e5228d1270d43c1b 100644 --- a/contrib/bind-dyndb-ldap.spec +++ b/contrib/bind-dyndb-ldap.spec @@ -1,7 +1,7 @@ %define VERSION %{version} Name: bind-dyndb-ldap -Version: 9.0 +Version: 10.0 Release: 0%{?dist} Summary: LDAP back-end plug-in for BIND -- 2.5.5
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code