mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
Use 198.18.0.0/16 as default Fake IP Pool (#377)
This commit is contained in:
parent
e0526c27b3
commit
3fe85449a9
4 changed files with 14 additions and 6 deletions
|
@ -3,6 +3,7 @@ package conf
|
|||
import (
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/xtls/xray-core/app/dns/fakedns"
|
||||
"github.com/xtls/xray-core/features/dns"
|
||||
)
|
||||
|
||||
type FakeDNSConfig struct {
|
||||
|
@ -36,7 +37,7 @@ func (FakeDNSPostProcessingStage) Process(conf *Config) error {
|
|||
if conf.FakeDNS == nil {
|
||||
// Add a Fake DNS Config if there is none
|
||||
conf.FakeDNS = &FakeDNSConfig{
|
||||
IPPool: "240.0.0.0/8",
|
||||
IPPool: dns.FakeIPPool,
|
||||
LruSize: 65535,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue