Ticket #546 (closed enhancement: duplicate)

Opened 11 years ago

Last modified 9 years ago

Mac OS X Host: Request Supplemental DNS Resolution Support

Reported by: sipples Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 1.4.0 Keywords: DNS nameserver
Cc: Guest type: other
Host type: Mac OS X


Mac OS X resolves host names differently than many other operating systems. The DNS resolver is described here:

See especially the section "SEARCH STRATEGY."

Many Mac OS X VPN clients take advantage of this resolver behavior, inserting supplemental DNS servers ahead of the entries in /etc/resolv.conf for specific domains, as described in Apple's reference. However, at present VirtualBox does not provide the ability to guest OSes to resolve these addresses to the correct DNS servers.

Although this is an enhancement request, it is also at least borderline "defect" given the way Mac OS X hosts resolve addresses. One solution appears to be to implement a lightweight DNS forwarder as part of VirtualBox, such as dnsmasq. MaraDNS might also provide a useful codebase.

Change History

comment:1 Changed 10 years ago by hramrach

The fact that VirtualBox relies on /etc/resolv.conf for dns resolution means that it does not work properly. As this file is really used only by the "host" tool on OS X, and other programs use other means of obtaining the nameserver addresses the file often does not contain correct information. The incorrect information in the file is probably the result of using some vpn software.

comment:2 Changed 10 years ago by frank

  • Host type changed from other to Mac OS X

comment:3 Changed 10 years ago by frank

  • Component changed from other to network

comment:4 Changed 9 years ago by frank

  • Component changed from network to network/NAT

comment:5 Changed 9 years ago by Hachiman

  • Status changed from new to closed
  • Resolution set to duplicate

duplicate #4484

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use