public Record
withName(Name name) {
	if (!name.isAbsolute())
		throw new RelativeNameException(name);
	Record rec = cloneRecord();
	rec.name = name;
	return rec;
}
Creates a new record identical to the current record, but with a different
name.  This is most useful for replacing the name of a wildcard record.
src/main/java/core/org/xbill/DNS/Record.java