<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The behavior of 'rndc halt -p' appears to be different from the documentation.<div><br></div><div>According to the BIND 9.4 ARM rndc section:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; ">halt [-p]<span style="font: 12.0px Helvetica"> </span>Stop the server immediately. Recent changes made through dynamic update or IXFR<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; ">are not saved to the master files, but will be rolled forward from the journal files when the<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; ">server is restarted. If -p is specified named’s process id is returned. This allows an external<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; ">process to determine when named had completed halting.<span style="font: 12.0px Helvetica"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Helvetica; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><div><br></div><div>But the actual behavior seems to be that 'rndc halt -p' returns immediately with the PID of named, but a 'ps -ef' shows named still running until it's done answering its unfinished recursive queries (or whatever it's busy doing).</div><div><br></div><div>Is rndc broken, or is the documentation wrong, or am I missing something?</div><div><br></div><div>If it makes a difference, this is on a server that exclusively does recursive resolution and does not serve any authoritative zones.</div><div><br></div><div>-rich</div><div><br></div><div></div></span></font></div></div></body></html>