From 5b70679e1b1632981e178f74bfe475114fd08c70 Mon Sep 17 00:00:00 2001 From: Matti Paksula Date: Mon, 5 Aug 2024 17:08:34 +0300 Subject: [PATCH] say 0.0.0.0 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c9ae318..30e6a1b 100644 --- a/main.go +++ b/main.go @@ -421,7 +421,7 @@ func main() { port := 53 server := &dns.Server{ - Addr: ":" + strconv.Itoa(port), + Addr: "0.0.0.0:" + strconv.Itoa(port), Net: "udp", } defer server.Shutdown()