Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

dns-{add,remove} can add/remove non-container DNS records #1517

Merged
merged 3 commits into from
Oct 19, 2015

Conversation

rade
Copy link
Member

@rade rade commented Oct 8, 2015

...by omitting the container name

We associate non-container dns entries with 'weave:extern' because typically these entries will refer to external (non-weave) IP addresses. 'weave:extern' also happens to be the same length as the existing 'weave:expose' pseudo-container, which is desirable for 'weave status dns' output layout.

Fixes #1385.

...by omitting the container name/id

Fixes #1385.
...instead of the weave container. This is cleaner.

'weave:extern' because typically these entries will refer to external
(non-weave) IP addresses. And because it's the same length as
'weave:expose', which is desirable for 'weave status dns' output.
@rade rade force-pushed the 1385-non-container-dns-add branch from ff924e8 to e42c811 Compare October 8, 2015 21:44
@rade
Copy link
Member Author

rade commented Oct 8, 2015

Once we are happy with this I will create an issue to address the caveat, namely that records get removed when stopping the peer on which they were added.

bboreham added a commit that referenced this pull request Oct 19, 2015
@bboreham bboreham merged commit 2f4d460 into master Oct 19, 2015
@rade rade modified the milestone: 1.2.0 Oct 20, 2015
@awh awh deleted the 1385-non-container-dns-add branch November 9, 2015 16:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants