public boolean
equals(Object arg) {
	if (arg == null || !(arg instanceof Record))
		return false;
	Record r = (Record) arg;
	if (type != r.type || dclass != r.dclass || !name.equals(r.name))
		return false;
	byte [] array1 = rdataToWireCanonical();
	byte [] array2 = r.rdataToWireCanonical();
	return Arrays.equals(array1, array2);
}
Determines if two Records are identical.  This compares the name, type,
class, and rdata (with names canonicalized).  The TTLs are not compared.
@param arg The record to compare to
@return true if the records are equal, false otherwise.
src/main/java/core/org/xbill/DNS/Record.java