VBoxManage Linux guest on Linux host. Resolve DNS

Discussion in 'all things UNIX' started by Ocky, Jun 23, 2015.

  1. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,677
    Location:
    George, S.Africa
    In the guest Several sites could not be accessed due to domain names not being resolved.
    To remedy this I saw that I could apply a VBoxManage modify command to use the hosts dns resolver as follows:

    VBoxManage modifyvm "VM Name" --natdnshostresolver1 on

    That worked, but is it OK security-wise ? I have no idea.
     
  2. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    6,021
    Why not just configure a third-party DNS server in the guest?
     
Loading...