-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure DNS with a local .multipass
domain
#666
Comments
.multipass
domain.multipass
domain
779: [qemu,libvirt] add "multipass" search domain (Fixes #666) r=gerboland a=Saviq Co-authored-by: Michał Sawicz <[email protected]>
779: [qemu,libvirt] add "multipass" search domain (Fixes #666) r=gerboland a=Saviq Co-authored-by: Michał Sawicz <[email protected]>
This is fixed, so closing. |
Just tried with 0.7.0 , I have 2 vms, kube-master and kube-node1
|
@sciabarracom can you please provide Also |
$ systemd-resolve --status Link 22 (vethwepla3dc978) $ systemd-resolve kube-node1.multipass kube-master.multipass |
The bug still happens with 0.7.1 I am using a Mac multipass@kube-node1:~$ ping kube-master |
Hi @sciabarracom see the last point in the issue description, on macOS Despite the description, this issue was about Linux and the qemu backend. I've now split #853 out to track the macOS problem. |
To be able to
ping <instance>
from inside another instance, we need to set up a search domain through the DHCP server. Otherwisesystemd-resolved
refuses to resolve the name.On QEMU, it should be as easy as adding
--domain multipass,local
to thednsmasq
command line.On Hyper-V,
.mshome.net
is added by default, we should ensure it's in the search domains viacloud-init
.On macOS
bootp
isn't set up to give out a search domain, so we'd need to configuresystemd-resolved
to allow no-suffix lookups.The text was updated successfully, but these errors were encountered: