<div dir="ltr"><div>Hi Jeronimo,<br><br></div><div>First of all, please just tell us the real domain.  Yes, we could try and talk about a fictitious "<a href="http://example.com">example.com</a>" or "<a href="http://company.com">company.com</a>," but having the real domain name lets us actually query your nameservers.<br>
</div><div><br></div><div>Let me be sure I understand: you have two DNS servers.  Each of them is authoritative for the same domain.  Are both set as master?<br><br></div><div>The two servers have different copies of the zone--what's your reason for that?<br>
<br></div><div>If both servers think they are authoritative for a zone, then they will answer recursive queries for those zones themselves.  From the manual: <br><br>"Forwarding occurs only on those queries for which the server is not authoritative and does not have the answer in its cache."<br>
<br></div><div>What exactly are you trying to achieve?<br><br></div><div>John<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 3:55 PM, Jeronimo L. Cabral <span dir="ltr"><<a href="mailto:jelocabral@gmail.com" target="_blank">jelocabral@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">Dear, I would like to ask for solution related with DNS (bind) configuration to allow </span><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">forward requests to another DNS but related with the same domain.</span><br style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">

<br style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px"><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">I'm asking about two authoritative name servers serving the same domain but with different zone file info on each and have one of them forward recursive queries to another one if first one cannot find some particular subdomain record that is missing in his version of zone file.</span><br>

</div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">My named.conf.local is as follow, but it doesn't work:</span></div>

<div><span style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px"><br></span></div><div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">zone "<a href="http://company.com" target="_blank">company.com</a>" {</span></font></div>

<div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    type master;</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    file "/etc/bind/zones/company.com.db";</span></font></div>

<div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    allow-transfer { key "company"; };</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    check-names ignore;</span></font></div>

<div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    forward first;</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">    forwarders { 172.16.1.1; };</span></font></div>

<div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">};</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px"><br>

</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">Thanks a lot, </span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px"><br>

</span></font></div><div><font color="#333333" face="Helvetica, FreeSans, Liberation Sans, Helmet, Arial, sans-serif"><span style="line-height:17px">JeLo</span></font></div><div style="color:rgb(51,51,51);font-family:Helvetica,FreeSans,'Liberation Sans',Helmet,Arial,sans-serif;font-size:13px;line-height:17px">

<br></div></div></div>
<br>_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>John Miller<br>Systems Engineer<br>Brandeis University<br>
<a href="mailto:johnmill@brandeis.edu">johnmill@brandeis.edu</a><br>(781) 736-4619
</div>