From 38d29b5d13fc9b67d68a17c1d8bc3076aa986408 Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Fri, 29 Nov 2024 09:53:09 +0100 Subject: [PATCH] Fix dns resolver property --- .dockerignore | 3 ++- src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java | 2 +- src/main/resources/application.properties | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 94810d0..8ce32f0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,5 @@ !target/*-runner !target/*-runner.jar !target/lib/* -!target/quarkus-app/* \ No newline at end of file +!target/quarkus-app/* +config.json \ No newline at end of file diff --git a/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java b/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java index d48c771..a20ae51 100644 --- a/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java +++ b/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java @@ -13,7 +13,7 @@ public class DnsJava implements DnsResolver { private final String resolverAddress; - public DnsJava(@ConfigProperty(name = "", defaultValue = "9.9.9.9") String resolverAddress) { + public DnsJava(@ConfigProperty(name = "ddnsclient.dns.resolver", defaultValue = "9.9.9.9") String resolverAddress) { this.resolverAddress = resolverAddress; } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 15f6b8a..b6dd53c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,3 @@ -quarkus.naming.enable-jndi=true quarkus.log.level=INFO quarkus.log.category."de.rpr.ddnsclient".min-level=TRACE quarkus.log.category."de.rpr.ddnsclient".level=INFO