diff --git a/virtualbox/machine.go b/virtualbox/machine.go index e275abb..76f0b7d 100644 --- a/virtualbox/machine.go +++ b/virtualbox/machine.go @@ -633,10 +633,14 @@ func (m *Machine) Modify() error { "--firmware", "bios", "--bioslogofadein", "off", "--bioslogofadeout", "off", - "--natdnshostresolver1", "on", "--bioslogodisplaytime", "0", "--biosbootmenu", "disabled", + // VirtualBox's DNS Host Resolver doesn't support SRV records + // direct DNS pass-through doesn't support roaming laptops well + // so we explicitly enable the DNS proxy + "--natdnsproxy1", "on", + "--ostype", m.OSType, "--cpus", fmt.Sprintf("%d", m.CPUs), "--memory", fmt.Sprintf("%d", m.Memory),