Bug 42396 - After renaming a computer object the DNS is not updated anymore
After renaming a computer object the DNS is not updated anymore
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Computers
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on: 37086
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-14 16:58 CEST by Florian Best
Modified: 2020-07-02 10:38 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-09-14 16:58:08 CEST
Bug #37086 ignored to fix renames which might happen via UDM for Windows DC/Windows/Ubuntu/Linux/UCC/MacOS/Trustaccount/IP Managed Client.

+++ This bug was initially created as a clone of Bug #37086 +++

A joined DC slave object (cn=slave42) has been removed from LDAP (also all referring objects). But at forward and reverse zones the nSRecord attributes do not get updated during removal → the entry "nSRecord: slave42.nstx.local." is not removed.

# nstx.local, dns, nstx.local
dn: zoneName=nstx.local,cn=dns,dc=nstx,dc=local
objectClass: top
objectClass: dNSZone
objectClass: univentionObject
univentionObjectType: dns/forward_zone
dNSTTL: 10800
relativeDomainName: @
zoneName: nstx.local
nSRecord: master40.nstx.local.
nSRecord: slave42.nstx.local.
nSRecord: backup41.nstx.local.
sOARecord: master40.nstx.local. root.nstx.local. 22 28800 7200 604800 10800

Because of this, the DNS server is not able to update its zones, e.g. triggered via listener module:
root@master40:~# rndc -p 55555 reload nstx.local
rndc: 'reload' failed: bad zone

root@master40:~# tail -n3 /var/log/syslog
Nov 27 00:28:36 master40 named[2477]: received control channel command 'reload nstx.local'
Nov 27 00:28:36 master40 named[2477]: zone nstx.local/IN: NS 'slave42.nstx.local' has no address records (A or AAAA)
Nov 27 00:28:36 master40 named[2477]: zone nstx.local/IN: not loaded due to errors.

This has been reproduced on a second system, where only the forward zone was affected. On the first system, 3 orphaned DNS entries were found in the DNS forward AND reverse zones.
Comment 1 Stefan Gohmann univentionstaff 2016-09-15 05:36:29 CEST
Removed Customer IDs and Bug group entries.