add dns option and check for lxc version