protected void storeDNSRecord(final CrawlURI curi, final String dnsName,
final CrawlHost targetHost, final Record[] rrecordSet) {
// Get TTL and IP info from the first A record (there may be
// multiple, e.g. www.washington.edu) then update the CrawlServer
ARecord arecord = getFirstARecord(rrecordSet);
if (arecord == null) {
throw new NullPointerException("Got null arecord for " +
dnsName);
}
targetHost.setIP(arecord.getAddress(), arecord.getTTL());
try {
recordDNS(curi, rrecordSet);
curi.setFetchStatus(S_DNS_SUCCESS);
curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server());
} catch (IOException e) {