diff --git a/client/mozilla/localsocketcontroller.cpp b/client/mozilla/localsocketcontroller.cpp index 56178eeb..db9f9663 100644 --- a/client/mozilla/localsocketcontroller.cpp +++ b/client/mozilla/localsocketcontroller.cpp @@ -199,6 +199,14 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) { jsAllowedIPAddesses.append(range); } } + + // Allow access to Amnezia DNS + QJsonObject range_ipv4; + range_ipv4.insert("address", amnezia::protocols::dns::amneziaDnsIp); + range_ipv4.insert("range", 32); + range_ipv4.insert("isIpv6", false); + jsAllowedIPAddesses.append(range_ipv4); + } }