File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ func newConfig() Config {
9595 return Config {
9696 LogLevel : int (dlog .LogLevel ()),
9797 ListenAddresses : []string {"127.0.0.1:53" },
98+ LocalDoH : LocalDoHConfig {Path : "/dns-query" },
9899 Timeout : 5000 ,
99100 KeepAlive : 5 ,
100101 CertRefreshDelay : 240 ,
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ func (proxy *Proxy) addLocalDoHListener(listenAddrStr string) {
185185 }
186186 FileDescriptorNum ++
187187
188- dlog .Noticef ("Now listening to %v [DoH]" , listenAddrStr )
188+ dlog .Noticef ("Now listening to https://%v%v [DoH]" , listenAddrStr , proxy . localDoHPath )
189189 go proxy .localDoHListener (listenerTCP .(* net.TCPListener ))
190190}
191191
@@ -324,7 +324,7 @@ func (proxy *Proxy) localDoHListenerFromAddr(listenAddr *net.TCPAddr) error {
324324 if err != nil {
325325 return err
326326 }
327- dlog .Noticef ("Now listening to %v [DoH]" , listenAddr )
327+ dlog .Noticef ("Now listening to https://%v%v [DoH]" , listenAddr , proxy . localDoHPath )
328328 go proxy .localDoHListener (acceptPc )
329329 return nil
330330}
You can’t perform that action at this time.
0 commit comments