# Revision history [back]

I think you can copy the file from Ubuntu/Debian and use it on Fedora as well.

# man gai.conf

GAI.CONF(5)

NAME
gai.conf - getaddrinfo(3) configuration file

DESCRIPTION
A  call  to getaddrinfo(3) might return multiple answers.  According to RFC 3484 these answers must be sorted so that the answer with the highest success rate is first in the list.  The RFC provides an algorithm for the
sorting.  The static rules are not always adequate, though.  For this reason, the RFC also requires that system administrators should have the possibility to dynamically change the sorting.  For  the  glibc  implementa‐
tion, this can be achieved with the /etc/gai.conf file.