<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    Timeouts along the chain?<br>
    <br>
    <div class="moz-cite-prefix">On 14/09/12 16:48, Martin McCormick
      wrote:<br>
    </div>
    <blockquote cite="mid:201209141448.q8EEmx5A026722@x.it.okstate.edu"
      type="cite">
      <pre wrap="">I needed to delete the CNAME record of
physicscourses.okstate.edu. After the deletion, the host command
would silently exit successfully as if this alias was still
there. I have seen this behavior a few times before but am not
sure what triggers it as one normally gets the usual "host
whatever.com not found" and host exits non zero.

        If I specifically command

host -tCNAME physicscourses.okstate.edu

I receive that there is no CNAME record named
physicscourses.okstate.edu but host still exits as if successful
in finding it.

        There is a <a class="moz-txt-link-abbreviated" href="http://www.physicscourses.okstate.edu">www.physicscourses.okstate.edu</a> CNAME record
and this maybe has something to do with the unusual reply.

        I had a script that was using the return status of host
and it works great guns unless you run in to this situation in
which it thinks the alias still exists. This causes an infinite
loop because it is waiting for the lookup to fail which it
normally does as soon as the nsupdate command's results
propagate out in a very short time.

        I did check our zone for any other records for
physicscourses.okstate.edu which, of course, would be an error
after having had a CNAME record of that name, but there wre
none.

Thanks for any light you can shed on why host still thinks there
is something there.

Martin McCormick
_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards

Sten Carlsen

No improvements come from shouting:

       "MALE BOVINE MANURE!!!" 
</pre>
  </body>
</html>