Added trim to nameservers to prevent whitespaces