Matthias Radestock
2500bc210a
cosmetic: more linting
2015-03-27 01:21:36 +00:00
Matthias Radestock
1ad950f177
cosmetic: more linting
2015-03-27 01:12:16 +00:00
Adam Harrison
efb7c0f1bc
gofmt
2015-03-26 10:54:46 +00:00
Alvaro Saurin
9dcec8ca16
basic DNS cache
...
unit tests
2015-03-24 12:44:01 +01:00
Adam Harrison
fcab4ee239
Truncate container IDs to twelve characters
2015-03-18 17:56:58 +00:00
Adam Harrison
6c5dbe0d01
Address documentation comments
2015-03-18 14:57:29 +00:00
Adam Harrison
66f4fd94e3
Update documentation
2015-03-18 13:39:16 +00:00
Adam Harrison
0f492b563e
Fix test compilation
...
Tests weren't compiling due to change of ListenHttp() signature. Fixed
for now by reintroducing domain parameter in addition to server, as this
allows the HTTP tests to pass in a nil server parameter. In the long
term DNSServer should probably become an interface so we can mock it
easily in such a scenario.
2015-03-17 17:42:16 +00:00
Adam Harrison
c36543a247
Include DNS server config in status
2015-03-17 15:41:01 +00:00
Adam Harrison
50f6402774
Include DNS version and domain in status
2015-03-17 14:28:26 +00:00
Adam Harrison
8f8719c298
Correct typo in log message
2015-03-16 17:36:56 +00:00
Matthias Radestock
123e8bbb28
reduce likelihood of IP clashes in tests & examples
...
by using the 10.2 range, which is not one used by docker and also is
less likely than 10.0 to be used by something else.
Fixes #402 .
2015-03-09 20:51:26 +00:00
Michael Bridgen
1d929263ac
Default the localDomain argument from the CLI
...
Otherwise, the HTTP listener can be given an empty string, and refuse
to record any hosts.
2015-02-27 16:58:47 +00:00
Michael Bridgen
35a8a390e7
Merge branch 'weave-366' of https://github.com/inercia/weave into pr394
2015-02-27 15:10:23 +00:00
fl0yd
49cb2758a4
Corrected a misspelling in readme
2015-02-27 08:34:24 -06:00
Alvaro Saurin
007873a402
zettio/weave#366 - keep the DNSServerConfig inmutable
2015-02-27 12:22:08 +01:00
Alvaro Saurin
0bc3e333f8
zettio/weave#366 - minor: fixed a typo and removed some superfluous code
2015-02-26 10:51:48 +01:00
Alvaro Saurin
bbd69170f9
zettio/weave#366 - improved configuration for th DNSServer, where we can specify the local domain name among other things... (missing some unit tests for this customized local domain)
2015-02-26 10:51:48 +01:00
Alvaro Saurin
c575023681
zettio/weave#362 - command line arg for using a specific fallback DNS server
2015-02-23 13:17:54 +01:00
Alvaro Saurin
ea1c3e8219
zettio/weave#362 - fix: = instead of :=
2015-02-23 13:17:54 +01:00
Alvaro Saurin
5dd475b2e5
zettio/weave#362 - fix DNSServer initialization
...
removed a couple of goroutines spawns...
2015-02-23 13:17:54 +01:00
Alvaro Saurin
9c7ffd9b81
zettio/weave#362 - improve the unit tests for the TCP server by checking if we get all the responses with TCP when a previous UDP query resulted in a truncated response.
2015-02-23 13:17:54 +01:00
Alvaro Saurin
3be5600383
zettio/weave#362 - reorganize the DNS server code, so it looks like the mDNS server, with a proper class with Start() and so...
...
Listen on TCP on port 53 by default
2015-02-23 13:17:54 +01:00
Matthias Radestock
9c3d509b10
cosmetics
...
suggested by linter
2015-02-03 14:46:35 +00:00
Michael Bridgen
08eb90c938
No longer is local_ip welcome in weaveDNS
...
(and point at weaveDNS's readme rather than the blog post, which is
out of date)
2015-01-26 11:49:02 +00:00
Michael Bridgen
14f7d83e3e
Merge branch '321_cope_with_weavetools_delays' of git://github.com/rade/weave into pr334
2015-01-09 17:40:42 +00:00
Matthias Radestock
f7ad2cd5af
wait longer for ethwe interface to come up
...
in case we are running on a really, really slow machine/VM
2015-01-08 22:22:40 +00:00
Bryan Boreham
bd2844d186
Split http-startup code from server-startup
2015-01-08 18:38:38 +00:00
Matthias Radestock
844fd54e18
less willing
2015-01-07 12:20:44 +00:00
Matthias Radestock
4ecd4e727f
rewording of must of the weaveDNS intro
2015-01-07 12:16:16 +00:00
Matthias Radestock
0777a1e3b0
cosmetic: remove trailing whitespace
2015-01-07 11:43:12 +00:00
Bryan Boreham
27f9a380e8
Explain weaveDNS configuration better
2015-01-07 11:34:16 +00:00
Bryan Boreham
82b54aabcd
Move logging, updating and testing utils into common directory
2015-01-02 14:49:49 +00:00
Michael Bridgen
0a14eb58b2
Don't hardwire executable names; use logical names instead
...
We could use `os.Args[0]` instead of hardwired names, but that ends up
being e.g. `/home/weave/weaver`. So, use logical names instead.
2014-12-24 11:52:50 +00:00
Michael Bridgen
b014d98c78
Put versions in the script and weavedns too, and report them
...
sudo weave version
2014-12-24 11:04:52 +00:00
Liang-Chi Hsieh
f5afe3b203
Merge remote-tracking branch 'upstream/master' into if_param
...
Conflicts:
weave
weaver/Dockerfile
2014-12-22 20:58:20 +08:00
Matthias Radestock
7ccb9e36d9
update Dockerfile MAINTAINER
...
and also use what appears to be (based on some sampling of the docker
registry) the correct convention for specifying the email address.
Also ditch superfluous CMD instruction in weaver.
2014-12-22 11:11:00 +00:00
Liang-Chi Hsieh
1dc28e9025
Assign iface parameter from defined variable.
2014-12-22 15:59:29 +08:00
Matthias Radestock
dc1942395d
use the same /24 IP for DNS server everywhere
2014-12-12 23:24:37 +00:00
Matthias Radestock
27b12990a9
correct instructions for DNS sub-net
2014-12-12 23:23:59 +00:00
Matthias Radestock
215149a096
ungarble
2014-12-12 23:20:27 +00:00
Bryan Boreham
4297f68860
Explain multiple containers with same name
...
Two further scenarios described
2014-12-09 12:07:29 +00:00
Matthias Radestock
b409519a1b
fix typo
2014-12-01 19:27:10 +00:00
Michael Bridgen
56056c06b1
Merge remote-tracking branch 'rade/186_stop_dns'
2014-11-28 12:55:43 +00:00
Matthias Radestock
f8ec75d6fb
document how to configure search across sub-domains
2014-11-28 10:35:28 +00:00
Matthias Radestock
c070f0b08c
add weave stop-dns
...
and in the process disentangle stopping dns from `weave stop`
2014-11-28 10:13:48 +00:00
Matthias Radestock
cadf348cbd
remove implemented feature from Limitations
...
This should have been part of #200
2014-11-28 10:04:28 +00:00
Michael Bridgen
2534977f99
Make weaveDNS use the docker bridge IP instead of its own
...
This means the `--dns` setting for containers will work even if the
weavedns container is restarted (and assigned a new docker network
IP).
2014-11-26 13:16:52 +00:00
Bryan Boreham
42f0cb883a
Add --with-dns option to weave run
2014-11-24 20:14:01 +00:00
Bryan Boreham
21b190ed41
Revert "Use Docker bridge IP for DNS"
2014-11-24 18:02:11 +00:00