Skip to content

Commit

Permalink
Fixed api calls to new dnsjava
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Jul 15, 2021
1 parent 4100b6a commit ea179c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected void storeDNSRecord(final CrawlURI curi, final String dnsName,
recordDNS(curi, rrecordSet);
curi.setFetchStatus(S_DNS_SUCCESS);
//curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server());
curi.setServerIP(ResolverConfig.getCurrentConfig().server());
curi.setServerIP(ResolverConfig.getCurrentConfig().server().getAddress().getHostAddress());
} catch (IOException e) {
logger.log(Level.SEVERE, "Failed store of DNS Record for " +
curi.toString(), e);
Expand Down

0 comments on commit ea179c1

Please sign in to comment.