mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Update Always Real IP & Direct Hosts
This commit is contained in:
parent
981fd142ff
commit
a91bea9f0a
@ -26,7 +26,7 @@ const HOSTNAMES = [
|
|||||||
'*.turn.twilio.com',
|
'*.turn.twilio.com',
|
||||||
'*.stun.twilio.com',
|
'*.stun.twilio.com',
|
||||||
'stun.syncthing.net',
|
'stun.syncthing.net',
|
||||||
'stun.*'
|
'stun.*',
|
||||||
// 'controlplane.tailscale.com',
|
// 'controlplane.tailscale.com',
|
||||||
// NTP
|
// NTP
|
||||||
// 'time.*.com', 'time.*.gov', 'time.*.edu.cn', 'time.*.apple.com', 'time?.*.com', 'ntp.*.com', 'ntp?.*.com', '*.time.edu.cn', '*.ntp.org.cn', '*.pool.ntp.org'
|
// 'time.*.com', 'time.*.gov', 'time.*.edu.cn', 'time.*.apple.com', 'time?.*.com', 'ntp.*.com', 'ntp?.*.com', '*.time.edu.cn', '*.ntp.org.cn', '*.pool.ntp.org'
|
||||||
@ -36,6 +36,8 @@ const HOSTNAMES = [
|
|||||||
// 'localhost.ptlogin2.qq.com
|
// 'localhost.ptlogin2.qq.com
|
||||||
// 'localhost.sec.qq.com',
|
// 'localhost.sec.qq.com',
|
||||||
// 'localhost.work.weixin.qq.com',
|
// 'localhost.work.weixin.qq.com',
|
||||||
|
'*.sslip.io',
|
||||||
|
'*.nip.io'
|
||||||
];
|
];
|
||||||
|
|
||||||
export const buildAlwaysRealIPModule = task(require.main === module, __filename)(async (span) => {
|
export const buildAlwaysRealIPModule = task(require.main === module, __filename)(async (span) => {
|
||||||
|
|||||||
@ -4255,3 +4255,4 @@ go.imperva.com
|
|||||||
static.vanta.com
|
static.vanta.com
|
||||||
bucket1.notaku.so
|
bucket1.notaku.so
|
||||||
media.minecraftforum.net
|
media.minecraftforum.net
|
||||||
|
.mangguo-youku.com
|
||||||
|
|||||||
@ -199,5 +199,3 @@ DOMAIN-SUFFIX,springernature.com
|
|||||||
|
|
||||||
# ACM (Association for Computing Machinery)
|
# ACM (Association for Computing Machinery)
|
||||||
DOMAIN-SUFFIX,acm.org
|
DOMAIN-SUFFIX,acm.org
|
||||||
|
|
||||||
## JSTOR 旗下
|
|
||||||
|
|||||||
@ -105,19 +105,12 @@ export const LAN = {
|
|||||||
// 'web.setup'
|
// 'web.setup'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
LAN: {
|
LAN_WITHOUT_REAL_IP: {
|
||||||
dns: 'system',
|
dns: 'system',
|
||||||
hosts: {
|
hosts: {},
|
||||||
// localhost: ['127.0.0.1']
|
realip: false,
|
||||||
},
|
|
||||||
realip: true,
|
|
||||||
ruleset: true,
|
ruleset: true,
|
||||||
domains: [
|
domains: [
|
||||||
'+lan',
|
|
||||||
// 'amplifi.lan',
|
|
||||||
// '$localhost',
|
|
||||||
'+localdomain',
|
|
||||||
'home.arpa',
|
|
||||||
// AS112
|
// AS112
|
||||||
'10.in-addr.arpa',
|
'10.in-addr.arpa',
|
||||||
'16.172.in-addr.arpa',
|
'16.172.in-addr.arpa',
|
||||||
@ -140,6 +133,21 @@ export const LAN = {
|
|||||||
'168.192.in-addr.arpa',
|
'168.192.in-addr.arpa',
|
||||||
'254.169.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>;
|
} as const satisfies Record<string, DNSMapping>;
|
||||||
|
|
||||||
|
|||||||
@ -438,7 +438,7 @@ DOMAIN-SUFFIX,gg
|
|||||||
DOMAIN-SUFFIX,gl
|
DOMAIN-SUFFIX,gl
|
||||||
DOMAIN-SUFFIX,gs
|
DOMAIN-SUFFIX,gs
|
||||||
DOMAIN-SUFFIX,in
|
DOMAIN-SUFFIX,in
|
||||||
DOMAIN-SUFFIX,io
|
# DOMAIN-SUFFIX,io # sslip.io, nip.io
|
||||||
DOMAIN-SUFFIX,is
|
DOMAIN-SUFFIX,is
|
||||||
DOMAIN-SUFFIX,it
|
DOMAIN-SUFFIX,it
|
||||||
DOMAIN-SUFFIX,jp
|
DOMAIN-SUFFIX,jp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user