Bug 29568 - Mehrere Nameserver pro Zone: Fehlerhafter Punkt am Ende
Mehrere Nameserver pro Zone: Fehlerhafter Punkt am Ende
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Lukas Walter
Stefan Gohmann
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-05 15:20 CET by Philipp Hahn
Modified: 2022-10-12 08:32 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2012-12-05 15:20:24 CET
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.
Comment 1 Lukas Walter univentionstaff 2013-07-09 13:27:00 CEST
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.
Comment 2 Stefan Gohmann univentionstaff 2013-08-15 12:12:23 CEST
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.
Comment 3 Lukas Walter univentionstaff 2013-08-19 15:56:54 CEST
(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.
Comment 4 Stefan Gohmann univentionstaff 2013-08-20 10:19:59 CEST
(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
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:44:15 CET
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".