Le jeudi 25 août 2011 à 12:17 +0100, Colin Guthrie a écrit : > 'Twas brillig, and Michael Scherer at 24/08/11 10:46 did gyre and gimble: > >> At present, a number of my machines have scripts that hook into the > >> network > >> scripts. For example, one to update the bind forwarders from the DNS IPs > >> returned by pppd when the interface comes up. On another machine, a script > >> that unloads the wireless broadband driver when the interface goes down (I > >> think this modem has buggy firmware). Then, there are the existing scripts > >> shipped in the distribution (e.g. to reload squid). > > Just on this point in particular (as Misc has pretty much covered > everything I would say and more!), the need to do this will likely go > away very soon. > > I don't know the full ins and outs here but AFAIK, there was/are various > uses of dnsmasq in Network Manager to provide caching DNS (which I > presume is the basic need with bind+forwarders).
That's optional, but yes, you can tell to nm to manage dnsmasq or bind to provides caching for dns. Dnsmasq is also used to share the connection. To enable it, I think you need to set this : [main] dns=dnsmasq ( or bind, even if this is marked experimental in git ) I tested on nm-0.9, my network didn't explose -- Michael Scherer
