mirror of
https://github.com/SukkaW/Surge.git
synced 2026-10-28 00:20:56 +08:00
New Domestic CDN Hosts Output Support
This commit is contained in:
@@ -188,7 +188,6 @@ export const DOMESTICS: Record<string, DNSMapping> = {
|
||||
'+bilivideo.com',
|
||||
'+bilivideo.cn',
|
||||
'+bilivideo.net',
|
||||
'+hdslb.com',
|
||||
'+biliimg.com',
|
||||
'+biliapi.com',
|
||||
'+biliapi.net',
|
||||
|
||||
14
Source/non_ip/domestic_cdn.conf
Normal file
14
Source/non_ip/domestic_cdn.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# $ custom_build_script
|
||||
|
||||
# CDN domains of domestic services that should use DIRECT both in China and abroad.
|
||||
# Match this ruleset before domestic when routing other domestic traffic back to China.
|
||||
# The build script also includes these rules in the legacy domestic output.
|
||||
|
||||
|
||||
# >> Bilibili
|
||||
# Bilibili CDN
|
||||
DOMAIN-SUFFIX,hdslb.com
|
||||
|
||||
# >> NetEase
|
||||
# NetEase Music CDN
|
||||
DOMAIN-SUFFIX,music.126.net
|
||||
5
Source/non_ip/domestic_cdn.ts
Normal file
5
Source/non_ip/domestic_cdn.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { DNSMapping } from './direct';
|
||||
|
||||
// CDN domains of domestic services that should use DIRECT both in China and abroad.
|
||||
// These domains are also included in the legacy domestic output by the build script.
|
||||
export const DOMESTIC_CDN: Record<string, DNSMapping> = {};
|
||||
Reference in New Issue
Block a user