Skip to main content

ENV_NAME_RAMA_DEBUG_HICKORY_DNS_RESOLVER_CONFIG

Constant ENV_NAME_RAMA_DEBUG_HICKORY_DNS_RESOLVER_CONFIG 

pub const ENV_NAME_RAMA_DEBUG_HICKORY_DNS_RESOLVER_CONFIG: &'static str;
Expand description

Environment name that can be set by user of software built with Rama to write the used hickory DNS resolver config/opts to the given file as json.

This can be useful to inspect why DNS might not be resolved correctly.

It is only used if the global dns resolver is used as the global dns resolver, with none set by the user explicitly.

Use HickoryDnsResolver::config if you wish to write or use that same config for your own created HickoryDnsResolver’s.