public void
	receiveMessage(Object id, Message m) {
		if (Options.check("verbose"))
			System.err.println("ExtendedResolver: " +
					   "received message");
		synchronized (this) {
			if (done)
				return;
			response = m;
			done = true;
			if (listener == null) {
				notifyAll();
				return;
			}
		}
		listener.receiveMessage(this, response);
	}
An implementation of Resolver that can send queries to multiple servers,
sending the queries multiple times if necessary.
@see Resolver

@author Brian Wellington
src/main/java/core/org/xbill/DNS/ExtendedResolver.java