Page 1 of 1

natdnshostresolver

Posted: 18. Oct 2016, 17:47
by Michael8773
Hello,

In testing some network settings I issued this command:

Code: Select all

VBoxManage modifyvm "guest1" --natdnshostresolver1 on
Before it I could do nslookups from that server after it I cannot. Even after I (think) I reset it back via: VBoxManage modifyvm "guest1" --natdnshostresolver1 off

1. How can I see what the currrent value is of "guest1" --natdnshostresolver1?

2. What is the correct command to turn it off?

Thanks,

Michael

Re: natdnshostresolver

Posted: 18. Oct 2016, 18:23
by socratis
That is the correct command to reset the value. AFAIK, you can't see the current value, the only thing you could do is to open the .vbox file for the VM and see if the value "<DNS use-host-resolver="true"/>" exists or not.

Do not modify the file directly unless you know what you're doing.

Re: natdnshostresolver

Posted: 18. Oct 2016, 18:48
by Michael8773
socratis thanks - that was very useful.

That is really good info to know.