Am Mittwoch, 27. Oktober 2010, 22:14:14 schrieb davidMbrooke: > On Tue, 2010-10-26 at 18:44 +0100, davidMbrooke wrote: > > I think this is different with Bering-uClibc4 - there is a "new" dhcpcd. > > I am using that and I have no /etc/dhcpc/resolv.conf generated. > > Sure enough, with the "new" dhcpcd there is a > script /libexec/dhcpcd-hooks/20-resolv.conf which explicitly writes > to /etc/resolv.conf. Calling 20-resolv.conf is currently suppressed by a > "nohook" line in /etc/dhcpcd.conf though. > > So, I could: > - Change the 20-resolv.conf script to write to a different file > instead, either /etc/dhcpc/resolv.conf or e.g. /etc/dnsmasq.resolv.conf > (I prefer the latter). > - Change /etc/dhcpcd.conf to call 20-resolv.conf again > - Change /etc/dnsmasq.conf to refer to /etc/dnsmasq.resolv.conf via > "resolv-file" > > Thoughts?
David; I use pppoe and for a usual setup dnsmasq points to the upstream DNS server in /etc/ppp/resolv.conf. Though I only use that as a fallback, instead I have my own resolv.conf in /etc to work around some annoying (political-based) misbehaviour with the DNS servers of my provider. So using /etc/ppp/resolv.conf or /etc/dhcpc/resolv.conf is a safe way and still a user has the option to go with own DNS servers in /etc/resolv.conf. That is all (more or less) well documented and I don't see any win, if we change names yet. So my vote is to "change the 20-resolv.conf script to write to a different file instead, namely /etc/dhcpc/resolv.conf" kp ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel