Skip to content

Commit

Permalink
Fix: routing cannot route DNS over QUIC with IP
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinoKaede committed Aug 23, 2021
1 parent c91f98c commit d81f40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dns/nameserver_quic.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewQUICNameServer(url *url.URL) (*QUICNameServer, error) {
return nil, err
}
}
dest := net.UDPDestination(net.DomainAddress(url.Hostname()), port)
dest := net.UDPDestination(net.ParseAddress(url.Hostname()), port)

s := &QUICNameServer{
ips: make(map[string]*record),
Expand Down

0 comments on commit d81f40e

Please sign in to comment.