Relevant background:
- Subset question How to obtain the proxy resolver configuration of a Virtualbox VM .
- modifyvm official docs don't seem to answer this (a notable doc bug); for those who don't know natdnshostresolver, it does document that (for just setting, not displaying) in NAT Network Settings.
- showvminfo, officially documented at http://www.virtualbox.org/manual/ch08.html#vboxmanage-showvminfo , (my only use) doesn't display natdnshostresolver other than just say a ‘NAT’ is present.
- Even ugly mostly-afterthought bash has ways to display all its flags set by its ‘set’ command, so ‘VirtualBox, what ya thinking making commands to set settings which you don't readily display?? You even have ‘Display settings’ but here you readily won't display settings ;-)’
- What now motivates me to ask: I was recommended to use
VBoxManage modifyvm "VM name" --natdnshostresolver1 on
from https://superuser.com/a/722670/327105 , and (after turning off the VM) I able to get that to setting to execute without error but afterwards there was no change so fix from it, so to diagnose that I want to query the setting to see if the setting stuck and to query a default machine's setting to see what it was before, but can't find how to do that, so ask this question.