Name_server now properly cleans the buffer