-
Notifications
You must be signed in to change notification settings - Fork 670
CLI for adding/removing non-container DNS records #1385
Comments
Would this mean that users could be able to add arbitrary A-records in the distributed database? |
No, only records in the weavedns domain. I am hoping(!) that is what the current |
But that wouldn't be a good idea once we have the gossip-dns in the production release, right? I mean that populating the distributed database with entries like |
What's the issue? I can see one fundamental problem: weavedns entries are necessarily associated with a peer, and when that peer disappears the entries too disappear. Is that the problem you were forseeing? |
My concern is that, if the distributed database becomes a general DNS database where a user could introduce thoushands of A-records (even if they are in the weavedns domain), it would potentially increase latency to the database propagation... |
There is no performance problems associated with this; individual records Matthias does point out an issue though; records are owned by a host and On Friday, 4 September 2015, Alvaro notifications@github.com wrote:
|
There is a substitute suggested by @errordeveloper a few days ago. Although you have to supply a container name to
works. That name will be lost if the weave router is stopped, but that would also be the case for the simple fix to address this issue anyway. |
...by omitting the container name/id Fixes #1385.
The weaveDNS API permits the addition/removal of records that are not associated with containers. But this functionality is not available in the CLI -
weave dns-add|remove
require a container name/id.We should remove that restriction. Quite how to express that in the CLI is tbd.
This has been requested by a user.
The text was updated successfully, but these errors were encountered: