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

Default .weave.local domain is reserved for Multicast DNS #2482

Open
bboreham opened this issue Aug 17, 2016 · 2 comments
Open

Default .weave.local domain is reserved for Multicast DNS #2482

bboreham opened this issue Aug 17, 2016 · 2 comments
Labels

Comments

@bboreham
Copy link
Contributor

bboreham commented Aug 17, 2016

Weave Net by default registers hosts in .weave.local domain. Unfortunately that name is reserved by RFC6762:

This document specifies that the DNS top-level domain ".local." is a
special domain with special semantics, namely that any fully
qualified name ending in ".local." is link-local, and names within
this domain are meaningful only on the link where they originate.

We became aware of this via golang/go#16739, because Go 1.7 changed to not send DNS queries for .local domains.

Users may work round this by specifying a different domain to Weave, e.g.:

weave launch --dns-domain=mydomain.net

and using the same domain in any related places, e.g. if you specify --hostname on a container.

@bboreham bboreham added the bug label Aug 17, 2016
@rade
Copy link
Member

rade commented Aug 17, 2016

The bit of the spec that hurts us is

Any DNS query for a name ending with ".local." MUST be sent to the mDNS IPv4 link-local multicast address 224.0.0.251

@bboreham
Copy link
Contributor Author

The Go change was unwound; Kubernetes is still using .local; I am downgrading from a bug to a chore.

@bboreham bboreham added chore and removed bug labels Nov 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants