mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 01:30:37 +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',
|
||||
'*.stun.twilio.com',
|
||||
'stun.syncthing.net',
|
||||
'stun.*'
|
||||
'stun.*',
|
||||
// 'controlplane.tailscale.com',
|
||||
// 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'
|
||||
@ -36,6 +36,8 @@ const HOSTNAMES = [
|
||||
// 'localhost.ptlogin2.qq.com
|
||||
// 'localhost.sec.qq.com',
|
||||
// 'localhost.work.weixin.qq.com',
|
||||
'*.sslip.io',
|
||||
'*.nip.io'
|
||||
];
|
||||
|
||||
export const buildAlwaysRealIPModule = task(require.main === module, __filename)(async (span) => {
|
||||
|
||||
@ -4255,3 +4255,4 @@ go.imperva.com
|
||||
static.vanta.com
|
||||
bucket1.notaku.so
|
||||
media.minecraftforum.net
|
||||
.mangguo-youku.com
|
||||
|
||||
@ -199,5 +199,3 @@ DOMAIN-SUFFIX,springernature.com
|
||||
|
||||
# ACM (Association for Computing Machinery)
|
||||
DOMAIN-SUFFIX,acm.org
|
||||
|
||||
## JSTOR 旗下
|
||||
|
||||
@ -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>;
|
||||
|
||||
|
||||
@ -438,7 +438,7 @@ DOMAIN-SUFFIX,gg
|
||||
DOMAIN-SUFFIX,gl
|
||||
DOMAIN-SUFFIX,gs
|
||||
DOMAIN-SUFFIX,in
|
||||
DOMAIN-SUFFIX,io
|
||||
# DOMAIN-SUFFIX,io # sslip.io, nip.io
|
||||
DOMAIN-SUFFIX,is
|
||||
DOMAIN-SUFFIX,it
|
||||
DOMAIN-SUFFIX,jp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user