Load Balancing (DNS 轮循负载均衡)
Bind 8
neo@master:~$ cat /var/cache/bind/db.neo.org @ IN SOA neo.org. root.neo.org. ( 200211131 ; serial, todays date + todays serial # 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds NS ns.neo.org. @ IN A 192.168.0.1 web IN A 192.168.0.1 mail IN A 192.168.0.1 @ MX 10 mail.neo.org. www1 IN A 172.16.0.1 www2 IN A 172.16.0.2 www3 IN A 172.16.0.3 www4 IN A 172.16.0.4 www IN CNAME www1.neo.org. www IN CNAME www2.neo.org. www IN CNAME www3.neo.org. www IN CNAME www4.neo.org. neo@master:~$
Bind 9
neo@master:~$ cat /var/cache/bind/db.neo.org @ IN SOA neo.org. root.neo.org. ( 200211131 ; serial, todays date + todays serial # 28800 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds NS ns.neo.org. @ IN A 192.168.0.1 web IN A 192.168.0.1 mail IN A 192.168.0.1 @ MX 10 mail.neo.org. www IN A 172.16.0.1 www IN A 172.16.0.2 www IN A 172.16.0.3 www IN A 172.16.0.4 www IN A 10.50.1.110 www IN A 10.50.1.131 www IN A 10.50.1.122 neo@master:~$
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。
时间: 2024-10-02 18:26:22