mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
feat: remote dns for sing
This commit is contained in:
@@ -85,9 +85,10 @@ func serverHandle(_ *cobra.Command, _ []string) {
|
||||
return
|
||||
}
|
||||
log.Info("Nodes started")
|
||||
dns := os.Getenv("XRAY_DNS_PATH")
|
||||
xdns := os.Getenv("XRAY_DNS_PATH")
|
||||
sdns := os.Getenv("SING_DNS_PATH")
|
||||
if watch {
|
||||
err = c.Watch(config, dns, func() {
|
||||
err = c.Watch(config, xdns, sdns, func() {
|
||||
nodes.Close()
|
||||
err = vc.Close()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user