tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding openresolv to base

Michael van Elst wrote:
On Wed, Mar 25, 2009 at 07:43:56AM +0000, Roy Marples wrote:
Michael van Elst wrote: (Roy Marples) writes:

By adding another file you have increased complexity. If both files are present, which should be used? If both, in what order? What if I want my static config to appear somewhere in the middle? Should we have a third file to configure this?
I can tell the ISC dhclient to produce the configuration I need,
even making appear something somewhere 'in the middle'. I can
also hook in a script that configures forwarders to my local
caching nameserver instead of changing /etc/resolv.conf.
Can you do the same for PPP and VPN clients whilst dhclient is running?

I don't know what arbitrary PPP and VPN clients can and can't do.

We can assume they supply DNS information to go in /etc/resolv.conf for the purposes of this discussion.

IF the stock dhclient supported DHCP on >1 interface could it still work?

The stock dhclient supports multiple interfaces. Obviously it
doesn't know how to handle multiple global configurations by
itself. Like resolver addresses or, more important, default routes
or any other option the DCHP server could send you.

This is then a failing of dhclient. But think of resolvconf as the interface to handling multiple global DNS configurations.

Saying that... some software that handles resolver configuration
for multiple 'configuration clients' is surely a nice thing,
but it isn't even half a solution.

What then is the solution?



Home | Main Index | Thread Index | Old Index