openresolv-discuss

Re: openresolv and dnsmasq

Roy Marples

Tue Oct 31 23:20:58 2017

Hi Wesley

On 31/10/2017 21:17, Wesley Peters AASKI wrote:
I’m trying to migrate a system from Debian 5, using resolvconf and dnsmasq, to RedHat 6.8 using openresolv and dnsmasq.  I’ve had quite a time trying to get openresolv and dnsmasq to do much of anything useful.

The Configuration section on the openresolv web site says nothing whatsoever about the supporting configuration for dnsmasq, not to mention all the fun getting a dnsmasq package built with dbus enabled. The few mentions of such a configuration in the mailing list archive all point to a wiki that has gone 404.

Can we get the wiki revived, or migrated to something that’s still alive?

The wiki is dead, assuming you meant the old trac instance.
A user editable wiki is nice, but not currently prioritised.

Here is the config page:
https://roy.marples.name/projects/openresolv/config

Here is the dnsmasq specific config:
https://roy.marples.name/projects/openresolv/config#dnsmasq

dnsmasq does NOT have to be compiled for dbus.
If it's not compiled, simply comment out enable-dbus

Alternatively, can somebody offer a configuration that is known to work for a two-armed router with a connection to the internet that needs to be NOT mangled on one arm, and an internal network providing DHCP and cached DNS services via dnsmasq on the other?  It seems like all the information might be there, I just can’t seem to figure out what goes where.

All the examples I listed above are known to work, as are the ones in the resolvconf.conf(5) man page:
http://netbsd.gw.com/cgi-bin/man-cgi?resolvconf.conf++NetBSD-current

My examples don't touch on the DHCP aspect because that's out of scope.
Ditto, the cached DNS services - that's out of scope, too.
All my examples provide are what's needed to instruct dnsmasq (and others), what upstream servers to contact for which DNS domains.

But I will say this - RedHat generally doesn't support resolvconf out of the box, and certainly not very well. If you do have futher issues, please state what network configuration tool you're using for the ISP facing interface - dhcpcd, dhclient, NetworkManager, systemd-networkd or whatever that's called.

Roy

References:
openresolv and dnsmasqWesley Peters AASKI
Archive administrator: postmaster@marples.name