It is not necessary for a foreign company to apply for DIN in India, but although it is necessary to get DSC for the director of the company.