Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dem0ns committed Mar 15, 2022
1 parent 29acd28 commit fffe252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func main() {
check()
go httpServer()
fmt.Println("[+] Server Started!")
listenAddr := fmt.Sprintf("0.0.0.0:%s", strconv.Itoa(53))
listenAddr := fmt.Sprintf(":%s", strconv.Itoa(53))
srv := &dns.Server{Addr: listenAddr, Net: "udp"}
srv.Handler = &handler{}
if err := srv.ListenAndServe(); err != nil {
Expand Down

0 comments on commit fffe252

Please sign in to comment.