Michael Bridgen
9dcb7e2d73
Separated dockerising from code
2014-10-03 20:55:53 +01:00
Michael Bridgen
59b1db76c8
Added Makefile and updated Dockerfile
...
The Dockerfile is now more like the weave one, with a scratch layer
underneath.
Makefile taken more or less from weave, too; except, it uses
environment variables to cross-compile the binary (which should
probably be done for weave as well)
2014-10-03 20:08:32 +01:00
Bryan Boreham
d29781f9c2
One fewer Println
2014-10-03 16:43:33 +01:00
Bryan Boreham
c3f4c1a85f
Cleaner handling of our own multicast queries
2014-10-03 16:42:02 +01:00
Bryan Boreham
eedb6a1c30
Add command-line flag to use a different port
2014-10-03 14:12:16 +01:00
Bryan Boreham
dcb89369c3
Usability improvements
2014-10-03 13:50:12 +01:00
Bryan Boreham
f309afcd18
Fix port to listen on, and add simple Dockerfile
2014-10-02 18:07:09 +01:00
Bryan Boreham
953a577ba2
Add multicast
2014-10-02 18:06:16 +01:00
Bryan Boreham
b49eb5c2ac
Extract makeDNSReply function
2014-10-02 16:12:10 +01:00
Bryan Boreham
673b420afa
Ignore Emacs backup files
2014-10-02 15:01:35 +01:00
Bryan Boreham
0c4b5105fc
Added multicast DNS client
2014-10-02 15:01:14 +01:00
Bryan Boreham
b87a4efff7
Pass zone by pointer not value in match()
2014-10-02 14:20:41 +01:00
Bryan Boreham
dddb542a83
go fmt
2014-10-02 14:19:47 +01:00
Bryan Boreham
f17c684cc9
Only send response if we have one
2014-10-01 14:59:38 +01:00
Bryan Boreham
721038cbef
gofmt
2014-10-01 14:59:07 +01:00
Bryan Boreham
10421b501c
Sanity-check request
2014-10-01 14:52:29 +01:00
Bryan Boreham
2039ede511
gofmt
2014-10-01 14:52:02 +01:00
Michael Bridgen
7c4e4c8716
Rearranged files to live in GOPATH properly
2014-09-30 16:52:46 +01:00
Michael Bridgen
2041f18fa1
About the noddiest thing that works.
2014-09-29 16:35:45 +01:00
Michael Bridgen
56a6ea6015
Initial commit
2014-09-29 16:34:39 +01:00