I would like to know how my linux box knows that /etc/resolv.conf is the place to look for dns servers. I have grepped through the linux sources, but could not find any file with resolv.conf in it.
I grepped /etc and found a few files. One is /etc/lst.cnf, which has all the various files defined, like so: FILE_ETC_HOSTS=/etc/hosts FILE_ETC_RESOLV_CONF=/etc/resolv.conf FILE_ETC_NETWORKS=/etc/networks FILE_ETC_EXPORTS=/etc/exports FILE_ETC_GATEWAYS=/etc/gateways FILE_ETC_HOST_CONF=/etc/host.conf FILE_ETC_INETD_CONF=/etc/inetd.conf FILE_ETC_RC_INET1=$DIR_INIT_CONF/rc.inet1 FILE_ETC_RC_INET2=$DIR_INIT_CONF/rc.inet2 Is this file the basic source file that defines where all these basic files should be? Which programs actually use this file, lst.cnf? Thanks, Joel _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users