Bug 39624

Summary: Serial number of DNS forward zone is not updated automatically
Product: UCS Reporter: Sönke Schwardt-Krummrich <schwardt>
Component: UMC - DNSAssignee: UMC maintainers <umc-maintainers>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P5 CC: hahn
Version: UCS 5.0   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=36681
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.034 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Sönke Schwardt-Krummrich univentionstaff 2015-10-23 14:21:31 CEST
The DNS forward zone serial number is not incremented if a new A/AAAA is added to a domaincontroller_master object.

root@master-ip46-66:~# udm dns/forward_zone list

DN: zoneName=testvm.local,cn=dns,dc=testvm,dc=local
ARG: None
  expire: 7 days
  ttl: 3 hours
  serial: 10
  retry: 2 hours
  zone: testvm.local
  zonettl: 3 hours
  refresh: 8 hours
  contact: root@testvm.local.
  nameserver: master-ip46-66.testvm.local.

root@master-ip46-66:~# eval "$(ucr shell)" ; udm computers/domaincontroller_master modify --dn "$ldap_hostdn" --append dnsEntryZoneForward="zoneName=$domainname,cn=dns,$ldap_base 10.200.40.254"
Object modified: cn=master-ip46-66,cn=dc,cn=computers,dc=testvm,dc=local
root@master-ip46-66:~# udm dns/forward_zone list

DN: zoneName=testvm.local,cn=dns,dc=testvm,dc=local
ARG: None
  expire: 7 days
  ttl: 3 hours
  serial: 10
  retry: 2 hours
  zone: testvm.local
  zonettl: 3 hours
  refresh: 8 hours
  contact: root@testvm.local.
  nameserver: master-ip46-66.testvm.local.

root@master-ip46-66:~#
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-11-10 21:33:58 CET
*** Bug 33149 has been marked as a duplicate of this bug. ***
Comment 2 Ingo Steuwer univentionstaff 2020-07-03 20:52:30 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Philipp Hahn univentionstaff 2020-07-04 09:22:19 CEST
This bug still exists and often leads to subtil errors.
Comment 4 Philipp Hahn univentionstaff 2021-04-27 07:52:37 CEST
Still with 5.0-0:

eval "$(ucr shell)"
dig $domainname. soa
udm computers/$server_role modify --dn "$ldap_hostdn" --append dnsEntryZoneForward="zoneName=$domainname,cn=dns,$ldap_base 10.200.40.254"
dig $domainname. soa