added domain and search for resolv_conf