fix domain search bug and SERVFAIL packet creation.
fix domain search bug and SERVFAIL packet creation.

  - the search iterator wasn't zeroed before the iteration; if the FILE
    lookup method executed first, then the BIND search wouldn't iterate.

  - F->query might not exist, so don't try to duplicate it to create
    the SERVFAIL packet.

wahern/dns,wahern/dns