bash script to manages hosts and domain