records.add(new AAAARecord(hostname,
DClass.IN, 3600, Address
.getByAddress((String) value)));
} else if ("SPF".equals(type)) {
if (value instanceof List<?>) {
records.add(new SPFRecord(hostname,
DClass.IN, 3600, (List<?>) value));
} else {
records.add(new SPFRecord(hostname,
DClass.IN, 3600, (String) value));
}
} else if ("TXT".equals(type)) {
if (value instanceof List<?>) {
records.add(new TXTRecord(hostname,