How to prefer ipv4 over ipv6 in RHEL7

Latest response

We see that some (many) have misconfigured ipv6 DNS entries for their sites and since RHEL seems to try ipv6 lookups before (or simultaneous to) ipv4 this can lead to failed lookups.

How do we set RHEL to prefer ipv4? (We're using RHEL7 and RHEL6)

Responses