Univention Bugzilla – Bug 29568
Mehrere Nameserver pro Zone: Fehlerhafter Punkt am Ende
Last modified: 2022-10-12 08:32:53 CEST
Forward-Zone für IPv6 angelegt und die IP-Adressen von Master (192.168.123.1) und Backup (192.18.123.2) jeweils ohne Punkt am Ende angegeben. Anschließend Objekt erneut geöffnet. Dort stand dan aber "192.168.123.1." (mit Punkt) und "192.168.123.2" (ohne Punkt). Das passiert unabhängig davon, ob Forward oder Rever-Zone. Das scheint nur zu passieren, wenn man IP-Adressen angiebt; bei Namen sind beide Einträge konsistent mit einem Punkt abgeschlossen. Das scheint sich an der Stelle aber nicht negativ auf die Funktion von BIND auszuwirken.
Jetzt wird jeder "nameserver" Eintrag (außer solche die einen ":" enthalten) um einen abschließenden Punkt ergänzt sofern nicht schon vorhanden. Das S4 backend sieht über fehlende abschließende Punkte in NS records hinweg und ergänzt sie selbstständig, mit LDAP backend funktionierte BIND in meinen Tests aber nur korrekt wenn wirklich jeder NS record mit einem Punkt endete.
Tests: OK, it worked like expected. Changelog: OK Code: Failed You have removed the following check: and '.' in self['nameserver'][0] AFAIR is the trailing dot is only required if a domain name was not given. Without a dot bind appends the domain name automatically.
(In reply to Stefan Gohmann from comment #2) > You have removed the following check: > and '.' in self['nameserver'][0] > > AFAIR is the trailing dot is only required if a domain name was not given. > Without a dot bind appends the domain name automatically. I have added the check again.
(In reply to Lukas Walter from comment #3) > > > > AFAIR is the trailing dot is only required if a domain name was not given. > > Without a dot bind appends the domain name automatically. > > I have added the check again. OK
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".