免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2837 | 回复: 3
打印 上一主题 下一主题

[DNS] DNS主从复制图解 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-11 10:07 |只看该作者 |倒序浏览
此图是在网上看到的, 好像不错.


file:///C:/Documents%20and%20Settings/yajin/My%20Documents/dns-m-s.jpg

[ 本帖最后由 chinaux 于 2010-1-11 10:10 编辑 ]

dns-m-s.jpg (21.82 KB, 下载次数: 30)

dns-m-s.jpg

论坛徽章:
0
2 [报告]
发表于 2010-01-11 11:09 |只看该作者
图画的不错,回头结合这个图写个文字说明文档

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
3 [报告]
发表于 2010-01-11 15:39 |只看该作者
原帖由 llzqq 于 2010-1-11 11:09 发表
图画的不错,回头结合这个图写个文字说明文档



期待
最近BZ的大作很不错

论坛徽章:
0
4 [报告]
发表于 2010-01-12 09:42 |只看该作者
这图不是我画的.

I try to share my understanding on zone transfer. Please correct me if wrong. Thanks.

Zone transfer happens when
I. the zone is updated on the master, and the master notifies the slave of the change.
II. the zone is reloaded on the slave.
II. the zone reaches "refresh" time on the slave.

Scenario I is demostrated by the diagram.   Usually it's triggered by a zone reload on the master.
1. notify. If the slave is configured in the "notify" list of a zone, then the slave is notified when the zone is updated on the master.
2. SOA query. The slave sends a SOA query to the master.
3. SOA answer.  The master returns the SOA answer to the slave.
4. check serial. The slave compares the serial number of the zone on the local host with the serial number in the SOA answer from the master.
5. AXFR/IXFR. If the serial number in the SOA answer is bigger, then a zone transfer request is sent to the master. AXFR: complete zone transfer request. IXFR: partial zone transfer request.
6. updated records. Updated zone data is transferred to the slave from the master.

Scenario II is kind of "rndc reload zone" on the slave.  The procedure of zone transfer is quite similar to the one of Scenario I,  but it has no Step 1 "notify".

The procedure of zone transfer in Scenario III is the same with the one in Scenario II. When the "refresh" time of the zone reaches, defined in its "SOA" record, the slave server starts Step 2 automatically, and then Step 3, 4, 5, 6.

[ 本帖最后由 chinaux 于 2010-1-12 09:52 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP