Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #316 from tianon/proxy-dns
Browse files Browse the repository at this point in the history
Explicitly use the VirtualBox NAT DNS Proxy
  • Loading branch information
daghack committed Dec 3, 2014
2 parents 2fb5d0a + 4c59138 commit a830982
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion virtualbox/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit a830982

Please sign in to comment.