Fix port to listen on, and add simple Dockerfile
This commit is contained in:
1 parent
953a577ba2
commit
f309afcd18
2 files changed
+4
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
FROM ubuntu
|
||||
EXPOSE 53/udp
|
||||
ADD ./dns /home/dns
|
||||
+1
-1
@@ -80,5 +80,5 @@ func main() {
|
||||
|
||||
go dns.ActivateAndServe(nil, conn, MDNSServeMux)
|
||||
|
||||
dns.ListenAndServe(":5300", "udp", LocalServeMux)
|
||||
dns.ListenAndServe(":53", "udp", LocalServeMux)
|
||||
}
|
||||
Reference in new issue
Block a user