<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">When we did it here we setup separate notify-source and transfer-source within the views on both the master and the slave.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">view "internal" {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">match-clients { internaldns; };<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">notify-source 10.9.9.8.;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">transfer-source 10.9.9.8;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">allow-transfer { dnsservers; };<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">…then our zones for internal view<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Internaldns acl is one that we specify servers inside our network.<br>
dnsserrvers acl is one that specifies the primary internal facing IP of the master and the slave<br>
<br>
view "external" {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">match-clients { any; };<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">notify-source 10.9.9.9;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">transfer-source 10.0.9.9;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">allow-transfer { dswadnsalias; };<br>
…then our zones for external view<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">any allows external locations to query us (we have recursion turned off)<br>
dswadnsalias acl is one that specifies the alias IPs on the same NIC as the internal facing IP of the master and the slave<br>
<br>
The IPs above would be on the master – you’d have separate IPs (but the same ACLs) on the slave.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You can create an alias IP on your primary NIC so for example here we have:<br>
eth1 = 10.9.9.8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">eth1:1 = 10.0.9.9<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">(In our config eth0 is the one we use for external facing traffic – eth1 is used for internal including zone transfers)<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> bind-users [mailto:bind-users-bounces@lists.isc.org]
<b>On Behalf Of </b>Eoin Kim<br>
<b>Sent:</b> Thursday, December 07, 2017 8:05 PM<br>
<b>To:</b> bind-users@lists.isc.org<br>
<b>Subject:</b> [Question] zone transfer issue with multiple views<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-AU">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU">I wonder if anyone can help me find the cause of the problem I am currently having. I am testing BIND with two views - internal, external. Everything seems okay except for one thing - zone transfer doesn’t look happening
for reverse zone for external view. On my slave server, I can see the following log message:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU">08-Dec-2017 10:55:59.247 general: info: zone 0.20.172.in-addr.arpa/IN/external: refresh: unexpected rcode (NXDOMAIN) from master 192.168.0.7#53 (source 0.0.0.0#0)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU">Servers are using TSIG for zone transfer. It looks like zone transfer itself working for all other zones except for reverse zone for external view. Could I please get help if possible? I am using Debian Jessie and BIND
was installed from its repository. I am willing to post BIND configurations if needed. Thanks a lot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="color:#0070C0;mso-fareast-language:EN-GB">Eoin Kim<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-AU" style="color:#1F497D;mso-fareast-language:EN-GB">Systems Administrator</span><span lang="EN-GB" style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-AU" style="color:black;mso-fareast-language:EN-GB">RCS Telecommunications
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Level 1 – The Annexe<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">133 Mary Street<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Brisbane, QLD, 4000
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Office: 07 3228 0843<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;color:black;mso-fareast-language:EN-GB">Mobile: 0419 726 231<o:p></o:p></span></p>
<p class="MsoNormal"><u><span lang="FR" style="font-size:12.0pt;color:#1F497D;mso-fareast-language:EN-GB"><o:p><span style="text-decoration:none"> </span></o:p></span></u></p>
<p class="MsoNormal"><span style="color:#1F497D"><img width="222" height="112" id="Picture_x0020_1" src="cid:image002.jpg@01D36FFF.361CFF50" alt="RCST logo drop shadow"></span><span lang="EN-GB" style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU"><o:p> </o:p></span></p>
</div>
</body>
</html>