added reading of the resolv file