mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-05-25 18:34:10 +00:00
Change default port
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
addr := flag.String("addr", ":5533", "DNS listen port")
|
||||
upstream := flag.String("upstream", "http://localhost:8080/resolve", "HTTP path for upstream resolver")
|
||||
addr := flag.String("addr", ":53", "DNS listen port")
|
||||
upstream := flag.String("upstream", "https://dns.google.com/resolve", "HTTP path for upstream resolver")
|
||||
flag.Parse()
|
||||
|
||||
client := NewClient(*addr, *upstream)
|
||||
|
||||
Reference in New Issue
Block a user