On Wed, Dec 9, 2009 at 12:17 PM, James Carlson <[email protected]> wrote: > Ross wrote: >> Gaah, nevermind everybody. I spent all night on this yesterday, and within >> 5 minutes of asking for help I find the solution lol. >> >> If anybody else hits this, you need to edit /etc/nsswitch.conf, to tell it >> to use DNS lookup for hosts: >> >> change the line "hosts: files" >> >> to "hosts: dns files" >> >> If the OpenSolaris devs are around, it would be really handy if the Network >> GUI tool could add this whenever you add a DNS server entry. > > When you manually configure an address, most of the helpfulness behind > that GUI (the nwam daemon) is disabled. It doesn't want to get in your > way. That's intentional. > > I agree that it would slightly lower the number of service calls from > new users if the system could detect that you've set up /etc/resolv.conf > and automatically modify /etc/nsswitch.conf for you, but there are > perfectly legitimate cases in which you would intentionally set up one > and not the other (or at least not list "dns"), so it might be hard to > do this in a way that doesn't end up annoying or just plain breaking > existing users. > > The better answer, I think, is to set up DHCP. It's pretty helpful.
Yes, DHCP is good, but that doesn't change the fact that the existing behaviour is pretty awful. If you're going to have a GUI where I can enter DNS servers for a connection then that setting needs to work. Expecting users to understand that they also need to edit a config file completely defeats the point of having a GUI in the first place. _______________________________________________ networking-discuss mailing list [email protected]
