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

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.