On Thu, Jan 10, 2002 at 12:08:15PM -0500, Karl Tucker wrote: > When installing Redhat, interrogatories are used to form the parameters of > the network. For example, the the IP address to be used. This address is then > stored in a file /etc/sysconfig/network-scripts/ifcfg-ctc0 (if using CTCs). > Where is/are the DNS server address, the Gateway address, and the domain > names stored?
ifcfg* files can specify the gateway with "GATEWAY=192.168.1.1". DNS-Servers are stored in /etc/resolv.conf. An interface can specify DNS-servers that should get written into /etc/resolv.conf when the interface is started: PEERDNS=yes DNS1=172.16.2.2 DNS2=172.16.2.2 Documentation for all this is in /usr/share/doc/initscripts-* cu, Florian La Roche