code: public void
  setSearchPath(String [] domains) throws TextParseException {
  	if (domains == null) {
  		this.searchPath = null;
  		return;
  	}
  	Name [] newdomains = new Name[domains.length];
  	for (int i = 0; i < domains.length; i++)
  		newdomains[i] = Name.fromString(domains[i], Name.root);
  	this.searchPath = newdomains;
  }
docs: Sets the search path to use when performing this lookup. This overrides the
  default value.
  @param domains An array of names containing the search path.
  @throws TextParseException A name in the array is not a valid DNS name.