add the pointer to buffer to decreate the size

add the partly dname process