aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvbox4
1 files changed, 4 insertions, 0 deletions
diff --git a/vbox b/vbox
index 1035390..a76baab 100755
--- a/vbox
+++ b/vbox
@@ -80,6 +80,10 @@ elif [ "$COMMAND" == "list" ]; then
exit
elif [ "$COMMAND" == "clip" ]; then
vbox_clip
+elif [ "$COMMAND" == "natresolver" ]; then
+ # See host's resolver as a DNS proxy in NAT mode
+ # https://www.virtualbox.org/manual/ch09.html#nat_host_resolver_proxy
+ VBoxManage modifyvm $VM --natdnshostresolver1 on
else
usage
fi