Update to latest version of dnsjava, for #344

This commit updates to version 3.3.1 of the dnsjava library.

Incidentally, the restlet.org certificate is currently invalid, so this
patch switched to maven.restlet.com.
This commit is contained in:
Andy Jackson
2021-05-20 20:44:19 +01:00
parent a09479364a
commit 045b2516da
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -85,9 +85,9 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.dnsjava</groupId>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
<version>2.0.3</version>
<version>3.3.1</version>
<scope>compile</scope>
</dependency>
<!--
+1 -1
View File
@@ -14,7 +14,7 @@
<repositories>
<repository>
<id>maven-restlet</id>
<url>https://maven.restlet.org</url>
<url>https://maven.restlet.com</url>
</repository>
</repositories>
@@ -239,7 +239,7 @@ public class FetchDNS extends Processor {
try {
recordDNS(curi, rrecordSet);
curi.setFetchStatus(S_DNS_SUCCESS);
curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server());
curi.setDNSServerIPLabel(ResolverConfig.getCurrentConfig().server().toString());
} catch (IOException e) {
logger.log(Level.SEVERE, "Failed store of DNS Record for " +
curi.toString(), e);