<div dir="ltr"><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">Dear I've implemented two views, one for local resolution and the other for forward a public zone to our resolver.</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">But now I have a problem:</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">If I define the same clients for the local zone view and forward view, depending on the order of the views the client can resolve or not the query. In this case client <a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://10.12.1.1" target="_blank">10.12.1.1</a> will match view INT and not view EXT:</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">acl internal {  <a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://10.12.1.4" target="_blank">10.12.1.</a>1; };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">acl external { <a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://10.12.1.1" target="_blank">10.12.1.1</a>; };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">view "INT" {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">   match-clients { internal; };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">recursion no;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">zone "<a href="http://company.com" target="_blank">company.com</a>" {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">    type master;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">    file "/etc/bind/zones/company.com.db";</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">};</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">view "EXT" {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">   match-clients { external; };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">recursion yes;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"> </div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">zone "<a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://teamviewer.com" target="_blank">teamviewer.com</a>" {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">        type forward;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">        forward only;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">        forwarders {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">                      <a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://172.17.10.25" target="_blank">172.1</a>8.1.1;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">      };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">};</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">If I define just one view with local and forward zones, I have to define "recursion yes" because the forward zone need this option, but in this case a query for a local zone is trying to be resolved against ROOT Servers and finally against master zone but it takes some seconds:</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">acl unique { <a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://10.12.1.4/" target="_blank">10.12.1.</a>1; };</div></div><div class="m_-2462021439052017881gmail-"><br class="m_-2462021439052017881gmail-Apple-interchange-newline"></div></div><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">view "INT-EXT" {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">match-clients { unique; };</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">recursion yes;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">zone "<a href="http://company.com" target="_blank">company.com</a>" {<br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">type master;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">file "/etc/bind/zones/company.com.db";</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">};</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">zone "<a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://teamviewer.com/" target="_blank">teamviewer.com</a>" {<br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">type forward;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">forward only;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">forwarders {</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><a class="m_-2462021439052017881gmail-s18magzr-0 m_-2462021439052017881gmail-lDmhO" href="https://172.17.10.25/" target="_blank">172.1</a>8.1.1;</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">};</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">};</div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">How can I define same clients to try resolving first view and -if there is no response- they try with second view ???<br></div><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">Or is there any other way to do what I want?</div></div></div></div></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr"><br></div></div><div class="m_-2462021439052017881gmail-"><div class="m_-2462021439052017881gmail-public-DraftStyleDefault-block m_-2462021439052017881gmail-public-DraftStyleDefault-ltr">Regards<br></div></div></div>