Skip to content

Commit

Permalink
Updated to support new protocol-agnostic server-ip attribute in heritrix
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Jul 15, 2021
1 parent f2fb2e8 commit 0533aef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ protected void storeDNSRecord(final CrawlURI curi, final String dnsName,
try {
recordDNS(curi, rrecordSet);
curi.setFetchStatus(S_DNS_SUCCESS);
curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server());
//curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server());
curi.setServerIP(ResolverConfig.getCurrentConfig().server());
} catch (IOException e) {
logger.log(Level.SEVERE, "Failed store of DNS Record for " +
curi.toString(), e);
Expand Down

0 comments on commit 0533aef

Please sign in to comment.