Commit dafd766f authored by Guus der Kinderen's avatar Guus der Kinderen Committed by GitHub

Merge pull request #630 from surevine/dnsoverrides

OF-1172 Add support for a wildcard DNS override
parents 7f084676 79c7a4d6
......@@ -88,6 +88,9 @@ public class DNSUtil {
List<HostAddress> results = new LinkedList<>();
if (dnsOverride != null) {
HostAddress hostAddress = dnsOverride.get(domain);
if (hostAddress == null) {
hostAddress = dnsOverride.get("*");
}
if (hostAddress != null) {
results.add(hostAddress);
return results;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment