Hi Clemens! On Thu, May 17, 2007 at 05:53:26PM +0200, Clemens Helfmeier wrote: > What if there are two dynamic links that connect the machine to the internet > (ppp, vpnc, umts, lan, ...)? If the order of ifup is not the inverse one of > ifdown, the restoring of nameservers will fail if a link goes down. So > removing > exactly the nameservers that were added by the link will solve the problem if > there are different nameservers on each link.
I am quite sure you have some real-world example in mind when requesting this feature. As I don't, maybe you could braindump your example here so it gets more clear to me what exactly you want to do. Especially scenarios where multiple dynamic links occur I would refer to nameservers reachable via both links and disable dynamic nameserver changing at all. > > * how to handle dhcp clients? None of them supports intelligent editing > > of resolv.conf. > > What about using a simple shell script that is given the nameservers like in > vpnc on connect? On ifdown, one could use stored values from a tempfile. Well, every technology providing dynamic IPs has an implemented functionality to handle nameserver advertising (ok, radvd doesn't ;). It is up to the user wether she allows it to change resolv.conf. I think this is okay, as the available nameservers may change which is then detected by the client. So having dns entries in /etc/network/interfaces only makes sense for static configurations. Greetings, Phil _______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
