<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
text-indent:21.0pt;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Some thinking on xfrin & notify-in/out
architecture, discussed with Shane and Feng.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>1. Xfrin Architecture<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Xfrin process will maintain the zone
contents according refresh/expire time in soa record, and also zone transfer-in
can be triggered by the notify-in message. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Xfrin process should send out notify-out
message to proper slave servers when finishing transfer-in. At the end of our
discussion, we got a new name for xfrin process: ‘ZoneRefresher’.
‘ZoneRefresher’ will do zone maintenance and notify its slave servers, and also
provide one command “notify-out”, by which, user can send notify message to
some dns server.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>2. Notify In<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Auth deamon should reply notify-in message.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>When auth deamon receives notify message,
first do ACL check, then reply the notify message or discard it. If notify
message is allowed, auth deamon needs send the notify information (zone name,
master address, port, or soa serial?) to ZoneRefresher over cc-channel(msgq).<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>3 Zone Configuration<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The configuration of zones, e.g., masters,
allow-transfer, also-notify, allow-notify, will be saved in datasource,
in different tables, like<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>table_zone_records<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>table_zone_names<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>table_zone_masters<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>table_zone_allow_transfers<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>table_zone_also_notify (or merge
table_allow_transfer, table_also_notify to one table)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>There are two ways to change zone’s
configuration:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>=1= (Free datasource) Run datasource
as a daemon process, so user can send configuration-change command to
datasource deamon through bindctl or webtools.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>=2= (Captive datasource) BIND10 runs
with static datasource, user can change zone configuration by through the
special command (zoneconfig?) provided by cmdctl.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Jelte, can you give some advice on configuration
here?<o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=EN-US><o:p> </o:p></span></b></p>
<p class=MsoNormal><b><span lang=EN-US><o:p> </o:p></span></b></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Zhang Likun</span><span
lang=EN-US><o:p></o:p></span></p>
<div class=MsoNormal align=left style='text-align:left'><span lang=EN-US
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
<hr size=2 width=238 style='width:178.5pt' align=left>
</span></div>
<div>
<div>
<p class=MsoNormal align=left style='text-align:left'><span lang=EN-US
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver'>Zhang
Likun </span><span style='font-size:10.0pt;font-family:宋体;color:silver'>(张立坤)</span><span
lang=EN-US style='font-size:12.0pt;font-family:宋体;color:silver'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal align=left style='text-align:left'><span lang=EN-US
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver'>DNS Lab,
CNNIC Labs</span><span lang=EN-US style='font-size:12.0pt;font-family:宋体;
color:silver'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal align=left style='text-align:left'><span lang=EN-US
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver'>Phone:
8610-58813250</span><span lang=EN-US style='font-size:12.0pt;font-family:宋体;
color:silver'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal align=left style='text-align:left'><span lang=EN-US
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:silver'>Email:
<a href="mailto:zhanglikun@cnnic.cn">zhanglikun@cnnic.cn</a></span><span
lang=EN-US style='font-size:12.0pt;font-family:宋体;color:silver'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:silver'>MSN: <a href="mailto:kerryzhang1227@hotmail.com">kerryzhang1227@hotmail.com</a></span><span
lang=EN-US><o:p></o:p></span></p>
</div>
</body>
</html>