Univention Bugzilla – Full Text Bug Listing |
Summary: | It is not possible to search for the IP-address of a DNS Host record | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - DNS | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jannik Ahlers <ahlers> |
Severity: | normal | ||
Priority: | P5 | Flags: | best:
Patch_Available+
|
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=38878 https://forge.univention.org/bugzilla/show_bug.cgi?id=40740 |
||
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?: | 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.034 | 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: |
patch
patch |
The search result for the following properties are also always returning empty results: DNS Alias record: * Zone Time-to-Live * Canonical name Host Record: * Mail Exchanger * Text Record * Zone Time-to-Live Service record: * Location → This isn't even a field there. * Zone Time-to-Live TXT Record: * Name * Zone Time-to-Live Created attachment 9093 [details]
patch
alternative patch using regex.
The search for ip addresses has been repaired. It's now possible to map single filter values to multiple filter values, so that no need for regex replacing in the filter is required. Aditionally some properties meanwhile work or have been removed from the search, as it also doesn't really make sense to search for them: (In reply to Florian Best from comment #1) > The search result for the following properties are also always returning > empty results: > > DNS Alias record: > * Zone Time-to-Live removed from searchable attributes > * Canonical name doesn't define substring match, so you can search for the full string > Host Record: > * Mail Exchanger removed from searchable attributes > * Text Record meanwhile works > * Zone Time-to-Live removed from searchable attributes > > Service record: > * Location → This isn't even a field there. meanwhile works > * Zone Time-to-Live removed from searchable attributes > > TXT Record: > * Name meanwhile works > * Zone Time-to-Live removed from searchable attributes univention-directory-manager-modules (14.0.12-19) 7677a61815c5 | Bug #40668: repair searches of DNS objects univention-directory-manager-modules.yaml 5e5554cc547b | YAML Bug #40668 Searching for IPs: OK Searching forTTL was removed: OK All the 'meanwhile works' fields work as well. Installation: OK YAML: FAIL, the 'fix' value is missing (there were other changes in the same package, still the value is empty) version added in YAML 23e06e0e68dd3630122195e40f4d7e86dc9fc736 (but it will change later again) Okay, yaml looks good now |
Created attachment 7480 [details] patch Searching for a specific IP address in the DNS modules doesn't work. This is because the UDM-Property 'a' is not in the mapping and therefore doesn't get rewritten in lookup(). Attached a patch which maps a → aRecord | aAAARecord.