Function resolve::resolv_conf::load [] [src]

pub fn load() -> Result<DnsConfig>

Examines system resolv.conf and returns a configuration loosely based on its contents. If the file cannot be read or lacks required directives, an error is returned.