主服务器(8888::a63)配置:

view "DefaultView" {

        match-clients {any;};

        zone "." in {

                type hint;

                file "etc/named.root";

        };

       zone "10658123.cn" in {

           type master;

           allow-transfer { 8888::aa; };

           notify yes;

           also-notify{ 8888::aa;};

           file "etc/zone/DefaultView.10658123.cn.hosts";

       };

};

bind授权域名主辅同步,支持ipv6地址域传输

备服务器(8888::aa)配置:

view "DefaultView" {

        match-clients {any;};

        zone "." in {

                type hint;

                file "etc/named.root";

        };

       zone "10658123.cn" in {

           type slave;

           file "etc/zone/DefaultView.10658123.cn.hosts";

           masters{8888::a63;};

       };

};

在主服务器上执行rndc reload 后,域文件会自动更新同步

bind授权域名主辅同步,支持ipv6地址域传输

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2021-12-21
  • 2021-07-07
  • 2021-04-06
  • 2022-03-15
  • 2022-12-23
  • 2021-08-21
  • 2021-10-07
相关资源
相似解决方案