added case for nameserver