Change the default port of Dns over Quic

This commit is contained in:
simpleandstupid 2022-06-16 17:28:48 +08:00 committed by 秋のかえで
parent 70e5eeefea
commit 2614dd7383
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func NewQUICNameServer(url *url.URL) (*QUICNameServer, error) {
newError("DNS: created Local DNS-over-QUIC client for ", url.String()).AtInfo().WriteToLog()
var err error
port := net.Port(784)
port := net.Port(853)
if url.Port() != "" {
port, err = net.PortFromString(url.Port())
if err != nil {