added reading of the resolv file fix