Obtains the list of of globally defined DNS servers which is assigned to a Virtuozzo Container.
PRL_RESULT PrlVmCfg_GetDnsServers( PRL_HANDLE hVmCfg, PRL_HANDLE_PTR phDnsServersList );
PrlApiVm.h
PRL_RESULT. Possible values are:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_OUT_OF_MEMORY - not enough memory to allocate strings list object.
PRL_ERR_SUCCESS - function completed successfully.