External DNS not resolving names

Discussions related to using VirtualBox on Linux hosts.
Post Reply
tnagdn
Posts: 6
Joined: 23. Oct 2019, 16:09

External DNS not resolving names

Post by tnagdn »

I'm using a DHCP server in WIndows Server 2003. I can ping external IP addresses but not the resolved names, for example:

ping 216.58.201.174 (google.com IP) = WORKS
ping google.com = not working

I'm inside a NAT Network (not NAT) with the following settings

Code: Select all

Name: LARED
IP: 10.0.2.0/24
DHCP Support: NO
IP/V6 Support: NO
The server has the following configuration:

Code: Select all

IP Address: 10.0.2.10
Mask: 255.0.0.0
Gateway: 10.0.2.1
DNS: 8.8.8.8
The thing is, changing the DNS won't fix the problem (I tried openDNS and 1.1.1.1 too)

What is the problem here?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: External DNS not resolving names

Post by socratis »

tnagdn wrote:I'm using a DHCP server in WIndows Server 2003
Then why do yo think it's a VirtualBox problem?
tnagdn wrote:I'm inside a NAT Network (not NAT)
Why? Simplify your setup, don't go NATnetwork+External DHCP server, unless you know your networking details. Try the Internal option, or turn-off the Win2003 DHCP server. I still don't understand why are you doing the way you're doing it...

I already told you that before...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
tnagdn
Posts: 6
Joined: 23. Oct 2019, 16:09

Re: External DNS not resolving names

Post by tnagdn »

Excuse me, I cannot simplify it since I have to use NAT Network by the imposition of my superior, otherwise I would be using the NAT option

I think I didn't explain very well, I'm not using an "external DHCP server", I'm using a virtual machine as DHCP server. Now the DHCP options are working perfectly due to your help in the last post but I still not able to resolve external sites.

I also have network restrictions, could that be the problem? I'm forced to use a specific DNS that works in the native machine, but in the VM I can't even ping it. Even if I set that DNS in the VM it won't work...

I just wanna make sure if it's my problem or an external restriction
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: External DNS not resolving names

Post by socratis »

tnagdn wrote:I'm forced to use a specific DNS that works in the native machine, but in the VM I can't even ping it.
Wait, what? You can't even ping the external DNS? That's not good...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
tnagdn
Posts: 6
Joined: 23. Oct 2019, 16:09

Re: External DNS not resolving names

Post by tnagdn »

In the host machine, I am forced to use a specific DNS server, ping works and it resolves names without problem

In the virtual machine with the past configuration, ping works but I can't resolve names, no matter which DNS I'm using
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: External DNS not resolving names

Post by scottgus1 »

Make a new different NAT network with no extras, just accept whatever defaults Virtualbox wants to use. Attach a new no-extra-config guest to this new NAT network, use whatever defaults the guest OS chooses for its network. See if you can ping IP's and names. If you can, then Virtualbox is working and the problem is a config issue in your 2003 guest.
Post Reply