On Sat, Jun 05, 2004 at 02:10:35PM +1000, Mehmet Yousouf wrote: > thankfully fixed almost all problems however... I > have one > interesting bug in my setup - for some reason - my > system doesn't > want to use my hosts file or my resolv.conf file. > Host.conf has > "order hosts.bind" and "multi on". I tried several > kernels (2.4 > versions, and 2.6 versions) all exhibit the same > symptoms so I assume > there must be a configutation file somewhere that > I don't know of. I > can revert back to my old setup (I actually backed > up!) but this > should be fixable. Any help/suggestions will be > gratefully accepted.
/etc/nsswitch.conf. If the hosts: line doesn't have 'dns' in it, you'll get the symptoms you've described, especially if you're getting this behaviour across everything, old and new, in the system. The file is used by glibc; if you've managed to compile glibc without DNS NSS support, you'll also get the same sort of problems. You'll want to make sure that /lib/libnss_dns* exists and has complete linkage. > System is running a modified (bastardised) > Mandrake ppc-9.1. You want Debian, you do. Your choice of old, shaky, or bleeding edge, delivered to your door. <grin> - Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
