Browse Source

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

SukkaW 3 months ago
parent
commit
524535258f
1 changed files with 2 additions and 2 deletions
  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'