Linux dns域名解析使用route 53做监控故障秒级切换的方法
Linux dns域名解析使用route 53做监控故障秒级切换的方法chkconfig nscd off;service nscd stop;yum -y install dnsmasq;sed -i 's/#listen-address.*/listen-address=127.0.0.1/g' /etc/dnsmasq.conf;echo -e 'nameserver 127.0.0.1\nnameserver 8.8.8.8\nnameserver 2001:4860:4860::8888\nnameserver 2606:4700:4700::1111\nnameserver 1.1.1.1\nnameserver 114.114.114.114\nnameserver 119.29.29.29\noptions timeout:1 attempts:1 rotate' > /etc/resolv.conf;chkconfig dnsmasq on;service dnsmasq start
一条命令,完事,如果监控到出现故障,1秒内会切换其他可用的dns ip地址
{:3018:}
页:
[1]