mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Update Always Real IP & Direct Hosts
This commit is contained in:
@@ -105,19 +105,12 @@ export const LAN = {
|
||||
// 'web.setup'
|
||||
]
|
||||
},
|
||||
LAN: {
|
||||
LAN_WITHOUT_REAL_IP: {
|
||||
dns: 'system',
|
||||
hosts: {
|
||||
// localhost: ['127.0.0.1']
|
||||
},
|
||||
realip: true,
|
||||
hosts: {},
|
||||
realip: false,
|
||||
ruleset: true,
|
||||
domains: [
|
||||
'+lan',
|
||||
// 'amplifi.lan',
|
||||
// '$localhost',
|
||||
'+localdomain',
|
||||
'home.arpa',
|
||||
// AS112
|
||||
'10.in-addr.arpa',
|
||||
'16.172.in-addr.arpa',
|
||||
@@ -140,6 +133,21 @@ export const LAN = {
|
||||
'168.192.in-addr.arpa',
|
||||
'254.169.in-addr.arpa'
|
||||
]
|
||||
},
|
||||
LAN_WITH_REALIP: {
|
||||
dns: 'system',
|
||||
hosts: {
|
||||
// localhost: ['127.0.0.1']
|
||||
},
|
||||
realip: true,
|
||||
ruleset: true,
|
||||
domains: [
|
||||
'+lan',
|
||||
// 'amplifi.lan',
|
||||
// '$localhost',
|
||||
'+localdomain',
|
||||
'home.arpa'
|
||||
]
|
||||
}
|
||||
} as const satisfies Record<string, DNSMapping>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user