Remmina flatpak doesn't like hostnames

See above. Remmina flatpak works perfectly fine with (numeric) IP addresses though. Moreover, it’s only the flatpak package that does that: I have a native Remmina installation on a different computer, and that one has no issues resolving hostnames.

Any ideas as to what may be going wrong?