<div>Please help me to understand the following behaviour of Bind 9.7.</div>
<div> </div>
<div>Consider this:</div>
<div>                       NS      <a href="http://server1.test.com">server1.test.com</a>.<br>                        NS      <a href="http://server2.test.com">server2.test.com</a>.<br>server1                 A       10.0.0.1<br>
server2                 A       10.0.0.2</div>
<div> </div>
<div>case 1:<br># nsupdate<br>> server 127.0.0.1<br>> update delete <a href="http://server2.test.com">server2.test.com</a> A<br>> update add <a href="http://server2.test.com">server2.test.com</a> 2222 A 10.0.0.2<br>
> send<br>> quit</div>
<div>No issues in above case.</div>
<div>case 2: <br># nsupdate<br>> server 127.0.0.1<br>> update delete <a href="http://server2.test.com">server2.test.com</a> A<br>> send<br>> update add <a href="http://server2.test.com">server2.test.com</a> 2222 A 10.0.0.2<br>
> send<br>update failed: REFUSED<br>> quit<br> <br>syslog will show: "updating zone '<a href="http://test.com/IN">test.com/IN</a>': update rejected: post update name server sanity check failed"</div>

<div> </div>
<div>In case 1 it is not giving any error. Why it is giving "sanity check error" in case 2 only?</div>
<div>If this is because "NS records without A records are not allowed", then it should not allow us to delete the NS A record also. While deleting NS A record also it should have given the sanity check error.</div>

<div>Is it a bug in Bind 9.7? This issue is not seen in Bind 9.5.</div>
<div>-Dinmadh</div>
<div><br> </div>