Dns - Korenix JetBox 8100 User Manual

Embedded linux
Hide thumbs Also See for JetBox 8100:
Table of Contents

Advertisement

4.3 DNS

The JetBox 8100 supports DNS client (but not DNS server). To set up DNS
client, you need to edit three configuration files:
/etc/hosts,
/etc/resolv.conf,
/etc/nsswitch.conf.
/etc/hosts
This is the first file that the Linux system reads to resolve the host name
and IP address.
/etc/resolv.conf
This is the most important file that you need to edit when using DNS for the
other programs. For example, before you use #ntpdate time.nist.goc to
update the system time, you will need to add the DNS server address to
the file. Ask your network administrator which DNS server address you
should use. The DNS server's IP address is specified with the
"nameserver" command. For example, add the following line to
/etc/resolv.conf if the DNS server's IP address is 168.95.1.1:
nameserver 168.95.1.1
Figure 4-5 nameserver
/etc/nsswitch.conf
This file defines the sequence to resolve the IP address by using /etc/hosts
file or /etc/resolv.conf.
JetBox 8100 User Manaual_Linux_1.1
25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jetbox 8100-lJetbox 8100-lm

Table of Contents