Fix port to listen on, and add simple Dockerfile

This commit is contained in:
Bryan Boreham committed 2014-10-02 18:07:09 +01:00
1 parent 953a577ba2
commit f309afcd18
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
FROM ubuntu
EXPOSE 53/udp
ADD ./dns /home/dns
+1 -1
View File
@@ -80,5 +80,5 @@ func main() {
go dns.ActivateAndServe(nil, conn, MDNSServeMux)
dns.ListenAndServe(":5300", "udp", LocalServeMux)
dns.ListenAndServe(":53", "udp", LocalServeMux)
}