mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
feat: remote dns for sing
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
log "github.com/sirupsen/logrus"
|
||||
coreConf "github.com/xtls/xray-core/infra/conf"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
func updateDNSConfig(node *panel.NodeInfo) (err error) {
|
||||
@@ -57,7 +56,5 @@ func saveDnsConfig(dns []byte, dnsPath string) (err error) {
|
||||
log.WithField("err", err).Error("Failed to write DNS to XRAY DNS PATH file")
|
||||
}
|
||||
}
|
||||
log.Println("reloading config")
|
||||
time.Sleep(5 * time.Second)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user