We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dns同一A记录指向不同IP,可实现简单的dns负载均衡,最近发现在linux上用ping总返回同一个IP,原因是为了支持IPv6,新版本glibc新增getaddrinfo函数,用来替代gethostbyname进行域名IP查询。getaddrinfo会依照rfc3484对IP进行排序。简单的解决办法是禁用IPv6
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
dns同一A记录指向不同IP,可实现简单的dns负载均衡,最近发现在linux上用ping总返回同一个IP,原因是为了支持IPv6,新版本glibc新增getaddrinfo函数,用来替代gethostbyname进行域名IP查询。getaddrinfo会依照rfc3484对IP进行排序。简单的解决办法是禁用IPv6
The text was updated successfully, but these errors were encountered: