Friday, May 16, 2008

Fedora8: NIC default gateway

route add default gw 15.168.35.240
As shown above, run the command route
Destination: default
Gateway: van-student
van-student hostname is defined in /etc/hosts

NIC's DNS server option is defined in /etc/resolv.conf.

By default, the computer will search for /etc/hosts for name resolution. And then, the DNS server resolution.

/etc/host.conf file controls the name resolution order.
cat /etc/host.conf
order hosts, bind

If you modify /etc/host.conf file as:
order bind, hosts

The name resolution order will be DNS first, and then /etc/hosts file.
==========

http://www.isc.org/index.pl?/sw/dhcp/

download dhcp-4.1.0a1.tar.gz