VirtualBox

Opened 14 years ago

Closed 14 years ago

#7864 closed defect (invalid)

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

Reported by: Artem S. Tashkinov Owned by:
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 (1)

VBox.log (50.7 KB ) - added by Artem S. Tashkinov 14 years ago.
Not really informative VBox.log

Download all attachments as: .zip

Change History (4)

comment:1 by vasily Levchenko, 14 years ago

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

by Artem S. Tashkinov, 14 years ago

Attachment: VBox.log added

Not really informative VBox.log

comment:2 by Artem S. Tashkinov, 14 years ago

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 by vasily Levchenko, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use