fix a inconsistence problem on dns binding, for host and dockers