소스 검색

fix dns not active

Tokumeikoi 5 년 전
부모
커밋
e73cbe9597
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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';
         }
     }