Commit Graph
7 Commits
Author SHA1 Message Date
Michael Bridgen 0749460652 Moved updater into server
While we're only reacting to containers going away, it's more
convenient to bundle the docker events watcher into the server.

I've added a flag to switch it on; and switched it on by default in
the container.

I also implemented `Zone.DeleteRecordsFor(ident)`, which removes all
records for a particular container.

One minor change to the structure of the code is that the Zone is now
constructed *outside* the server, and given to it and the updater.
2014-10-16 15:38:32 +01:00
Bryan Boreham 50d343e2fb Use specified port for http listener 2014-10-10 17:36:46 +01:00
Bryan Boreham ed6c7cb784 Concatenate multiple replies received over mDNS 2014-10-10 17:14:06 +01:00
Bryan Boreham 8521fdea0e Reply with array of addresses for delegated query 2014-10-10 16:31:09 +01:00
Bryan Boreham b5214f65e7 Forward DNS requests that aren't for our 'weave' domain 2014-10-10 15:41:09 +01:00
Bryan Boreham de65dc7996 Move usage of mdnsClient after initialization 2014-10-10 15:34:54 +01:00
Michael Bridgen b1b75c4a8a Moved the server startup code out of main.go 2014-10-10 11:53:21 +01:00