瀏覽代碼

Fix: enable `*.local` to use Real IP

SukkaW 3 月之前
父節點
當前提交
524535258f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/non_ip/direct.ts

+ 2 - 2
Source/non_ip/direct.ts

@@ -51,9 +51,9 @@ export const LAN = {
   // Some app like OrbStack uses mDNS and this TLD (orb.local) via mDNS.
   // Surge already handles .local with mDNS properly, we should not map to server:system
   LOCAL_SPECIAL: {
-    dns: null,
+    dns: null, // disable DNS server for now. In the future we might wannna explicitly specify `server: force-syslib`
     hosts: {},
-    realip: false,
+    realip: true,
     ruleset: false,
     domains: [
       '+local'