Univention Bugzilla – Bug 40668
It is not possible to search for the IP-address of a DNS Host record
Last modified: 2019-04-17 14:07:27 CEST
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.
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
<http://errata.software-univention.de/ucs/4.4/50.html>