rpm -qf /etc/gai.conf

And if you do not have a /etc/gai.conf (for instance on recent Fedora), you should have an example somewhere within /usr/share/doc/glibc-common/gai.conf) which you can copy over to /etc/gai.conf.