Linux - Chapter 12 Review
Which file stores the TCP/IP addresses of the DNS servers used to resolve host names?
/etc/resolv/conf
Which file would you modify to change the TCP/IP address of the first aliased NIC on the system the next time the system is booted or the card is brought up?
/etc/sysconfig/network-scripts/ifcfg-eth0
Which of the following port numbers is associated with telnet?
23
Which of the following are stand-alone daemons? (Choose all that apply.)
Apache DNS
What are two means available to resolve a host name to the appropriate TCP/IP address? (Choose two answers.)
DNS /etc/resolve.conf
The TCP/IP address of 127.0.0.1 is also referred to as the __________.
Loopback address
A subnet mask is used to differentiate the host portion from the network portion in a TCP/IP address. True or False?
True
Before a computer can use a router, it must be provided what configuration information?
default gateway
Which of the following utilities can be used to check TCP/IP configuration and test network connectivity? (Choose all that apply.)
ifconfig ping netstat -i
Which command would be used to activate the NIC aliased as eth0?
ifup eth0
To test DNS configuration by resolving a host name to IP address, which command or commands can you use? (Choose all that apply.)
nslookup hostname dig hostname host hostname
Which two commands can be used to modify the route table on a Linux computer? (Choose two answers.)
route ip
What devices are used to transfer information from one network to another?
routers
The line that configures the host name for the computer at boot time can be found in /etc/sysconfig/network. True or False?
true
Which file holds the methods to be used and the order in which they will be applied for host name resolution?
/etc/nsswitch.conf
