Configuring openresolv

/etc/resolvconf.conf is the openresolv's configuration file. The out of the box default just talks to libc. If you have a resolver other than libc installed, you will need to configure three varibles. Below is a sample configuration for dnsmasq, pdns_recursor and named resolvers.

# Use the local name server
name_servers=127.0.0.1

# Write out dnsmasq extended configuration and resolv files
dnsmasq_conf=/etc/dnsmasq-conf.conf
dnsmasq_resolv=/etc/dnsmasq-resolv.conf

# Write out PowerDNS Recursor forward zones file
pdns_zones=/etc/recursor-zones.conf

# Write out named extended configuration and zone files
named_options=/etc/namedb/resolvconf-options.conf
named_zones=/etc/namedb/resolvconf-zones.conf

# Write out unbound configuration file
unbound_conf=/etc/unbound-resolvconf.conf

You then need to configure your resolver to use these files.