Update Always Real IP & Direct Hosts

This commit is contained in:
SukkaW
2025-03-26 23:29:25 +08:00
parent 981fd142ff
commit a91bea9f0a
5 changed files with 23 additions and 14 deletions

View File

@@ -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>;