When getnameinfo is used to lookup IPv4-mapped addresses in /etc/hosts, matching records are not found. This is a regression relative to Red Hat Enterprise Linux 8.
Upstream patchwork link: https://patchwork.sourceware.org/project/glibc/patch/mvmjzuwchbq.fsf@suse.de/
Upstream commit: commit c437631485a85c3bd034e12f53dd1c8207f05940 Author: Andreas Schwab <schwab> Date: Wed Jul 19 09:55:31 2023 +0200 Restore lookup of IPv4 mapped addresses in files database (bug 25457) This was broken by commit 9c02d0784d ("nss_files: Remove RES_USE_INET6 from hosts processing"), which removed too much.