Centos/linux ipv4优先

cp /usr/share/doc/glibc-common-2.17/gai.conf /etc/
echo 'precedence ::ffff:0:0/96  100' >> /etc/gai.conf