Ver código fonte

fix dns not active

Tokumeikoi 5 anos atrás
pai
commit
e73cbe9597
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Services/ServerService.php

+ 1 - 0
app/Services/ServerService.php

@@ -56,6 +56,7 @@ class ServerService
         if ($server->dnsSettings) {
             $dns = json_decode($server->dnsSettings);
             $json->dns = $dns;
+            $json->outbound->settings->domainStrategy = 'UseIP';
         }
     }