Difference between revisions of "DNS"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 2: Line 2:
 
==Server Configuration==
 
==Server Configuration==
 
The related RPMs installed on einstein are:
 
The related RPMs installed on einstein are:
; bind : includes DNS server, named
+
; bind.i386 : includes DNS server, named
; bind-utils : utilities for querying DNS servers about host information
+
; bind-utils.i386 : utilities for querying DNS servers about host information
; bind-libs : libraries used by the bind server and utils package
+
; bind-libs.i386 : libraries used by the bind server and utils package
; caching-nameserver : config files for a simple caching nameserver
+
; caching-nameserver.i386 : config files for a simple caching nameserver
 
* [http://www.redhat.com/magazine/025nov06/features/dns/ more info]
 
* [http://www.redhat.com/magazine/025nov06/features/dns/ more info]
 
* [http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/ch-bind.html RHEL 5 docs]
 
* [http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/ch-bind.html RHEL 5 docs]
 +
 
==Client Configuration==
 
==Client Configuration==
 
The important config files are ''/etc/host.conf'', ''/etc/hosts'', and ''/etc/resolv.conf''.  The information in these files can also be safely editied via the graphical ''system-config-network'' program.
 
The important config files are ''/etc/host.conf'', ''/etc/hosts'', and ''/etc/resolv.conf''.  The information in these files can also be safely editied via the graphical ''system-config-network'' program.

Revision as of 13:57, 30 July 2007

Domain Name Servers are how clients are able to get automatic hostname-to-IP-address resolution. Since all servers and clients on our network must be set up with static IP addresses, the settings for DNS are very important for getting communication to function properly. Currently, einstein and roentgen are set up as DNS servers.

Server Configuration

The related RPMs installed on einstein are:

bind.i386
includes DNS server, named
bind-utils.i386
utilities for querying DNS servers about host information
bind-libs.i386
libraries used by the bind server and utils package
caching-nameserver.i386
config files for a simple caching nameserver

Client Configuration

The important config files are /etc/host.conf, /etc/hosts, and /etc/resolv.conf. The information in these files can also be safely editied via the graphical system-config-network program.

/etc/host.conf
Defines the oder in which the client will search for hostname resolution. This typically contains only order hosts,bind, which means to first check the "hosts" file, then try bind to a DNS server and get the answer there.
/etc/hosts
Contains a list of IP addresses and their associated hostnames. This typically constains info for localhost, einstein, and the machine's own hostname(s).
/etc/resolv.conf
Contains the subnet to search and a list of DNS servers' IP addresses. This typically contains "farm.physics.unh.edu" along with einstein and roentgen's IP addresses.