rmap.put("port", srv.getPort());
rmap.put("priority", srv.getPriority());
rmap.put("weight", srv.getWeight());
}
else if (rec instanceof SOARecord) {
SOARecord soa = (SOARecord) rec;
rmap.put("admin", soa.getAdmin().toString());
rmap.put("expire", soa.getExpire());
rmap.put("host", soa.getHost().toString());
rmap.put("min", soa.getMinimum());
rmap.put("refresh", soa.getRefresh());
rmap.put("retry", soa.getRetry());
rmap.put("serial", soa.getSerial());
}
else
{
rmap.put("rdata", rec.rdataToString());
}