add support for resolv-file