aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-04-06 23:02:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-04-06 23:02:57 -0300
commit4732712596a69a6ee5936b506b429a7f4fab9747 (patch)
tree68ead7a2da9a183cf0c5a26a3bdc964d99d317f1
parent180e50414b9951b8b9d92ed616b39b22a3f7767b (diff)
downloadvbox-4732712596a69a6ee5936b506b429a7f4fab9747.tar.gz
vbox-4732712596a69a6ee5936b506b429a7f4fab9747.tar.bz2
Adds natresolver command
-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