[Home] [Credit Search] [Category Browser] [Staff Roll Call] | The LINUX.COM Article Archive |
Originally Published: Monday, 3 April 2000 | Author: Chen Chang and Sylvester Smith, Linuxcare |
Published to: learn_articles_support/Articles | Page: 1/1 - [Printable] |
Linuxcare: How To Set Up DNS Services: 3 Part Series
Linuxcare's Chen Chang and Sylvester Smith, have taken the time to write a 3 part Series on DNS Services. Part 1: This essentially sets the stage for how one sets up a DNS server for your LAN.
|
Page 1 of 1 | |
Name resolution is the process by which hostnames are converted to IP
addresses. It is what allows users to contact a host with a name, such as
www.yahoo.com, rather than with 204.71.200.67. There are
several mechanisms by which such name to IP address translation can occur.
Most Linux users are familiar with the use of the /etc/hosts file to
perform name resolution. While this method is simple and straightforward,
it's use is only suitable in home networks and small local area networks. The
reason for this is that this method of name resolution is not scalable. On a
LAN with hundreds of hosts, the addition or removal of hosts on the network
would require the /etc/hosts file to be updated on every host on the
network. While this can be made less painful with the use of rsync or NIS, it
would still be fairly painful.
Fortunately, an alternative exists. A much better solution is to setup a DNS server for your network. Once a DNS server is in place, the machines on the network would not have to perform name resolution themselves. Instead, they send a name resolution query to the DNS server. The DNS server will perform the name resolution and respond with the IP address for the hostname queried. Sounds great, but how difficult is it? It is not hard at all to setup a simple DNS server for your LAN. For demonstration purposes, I will be referring to the imaginary 192.168.1.0 network below, using the domain name, gracie.edu.
We are going to set up helio as the DNS server for my domain
Come back next week when we will discuss the server
configuration portion. We will configure named, create a zone file,
set up a zone statement, and a reverse zone statement.
Chen Chang is a
Linuxcare
University Courseware Writer. His areas of interest include TCP/IP
networking, Samba, open source advocacy, and system administration. His
"Power Tips" column appears every Monday at linux.com. Send your questions
and comments to cchang@linuxcare.com.
| |
Page 1 of 1 |