VirtualBox

Ticket #7864 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Guest OS resolving doesn't work if host OS DNS is set to 127.0.0.1

Reported by: birdie Owned by:
Priority: minor Component: network/NAT
Version: VirtualBox 3.2.12 Keywords: dns
Cc: Guest type: Windows
Host type: Linux

Description

On Linux host (Fedora 14) I run Windows XP SP3 guest (default configuration) with NAT networking.

My host reads its DNS this way (I run a local DNS forwarder daemon):

[birdie@localhost ~]$ cat /etc/resolv.conf
127.0.0.1

But unfortunately in this case guest doesn't get any DNS server:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\User>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : xpv
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 1:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : AMD PCNET Family PCI Ethernet Adapter #1
        Physical Address. . . . . . . . . : 08-00-27-75-16-63
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.0.2.15
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.2.2
        DHCP Server . . . . . . . . . . . : 10.0.2.2
        Lease Obtained. . . . . . . . . . : 18 December 2010 22:43:05
        Lease Expires . . . . . . . . . . : 19 December 2010 22:43:05

This bug affects VirtualBox 3.2.12 and 4 beta 4.

Attachments

VBox.log Download (50.7 KB) - added by birdie 3 years ago.
Not really informative VBox.log

Change History

comment:1 Changed 3 years ago by Hachiman

Could you please attach your log file? I've tried it locally and get 10.0.2.2 as DNS server.

Changed 3 years ago by birdie

Not really informative VBox.log

comment:2 Changed 3 years ago by birdie

LOL.

127.0.0.1 is obviously a wrong setting, when I changed it 'nameserver 127.0.0.1` everything started working correctly.

Please, close this bug report, it's invalid.

comment:3 Changed 3 years ago by Hachiman

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use