fix name server ip query 500 error