SLAC CPE Software Engineering Group
Programmers' Guides, Users' Guides
DNS makes it possible to refer to IP-based systems (hosts) by human-friendly names (domain name).
Name resolution is the act of determining the IP address(es) of a given hostname. DNS basically
There are two servers on LCLSDMZ, providing System Services, including DNS, to clients on controls networks. The servers are only accessible by root, and there are no NFS mounts to any servers. Security updates will follow the same update rules as our LCLSDMZ Taylor'd servers. We have up to 10 days for high security patches to be applied.
The two servers are mccsrv01 as the primary and mccsrv02 as the secondary. For testing, we use lcls-prod01 for the secondary.
BIND is the most widely used DNS server on the Internet. RHEL uses BIND 9. Install BIND as
mount -t nfs 18.104.22.168:/share1 /nfs/nas03
The DNS daemon is called "named". Setup DNS daemon: named, as below:
/sbin/chkconfig --add named
DNS Server Configuration
Create/install zone files in /var/named directory. I tar'd up the /var/named directory: ~brobeck/NAMED-2010.tar
[root@mccsrv01 ~]# ls /var/named/
Edit /etc/named.conf, a configuration file, which is read by named during dameon startup. See Apendix I.
[root@mccsrv01 ~]# cat /etc/resolv.conf
DNS Client configuration
[jingchen@lcls-srv20 ~]$ cat /etc/resolv.conf
# will include nameserver mccsrv02
[jingchen@lcls-srv20 ~]$ nslookup lcls-srv01
Showing it uses mccsrv01 as DNS for query.
[jingchen@lcls-srv20 ~]$ host lcls-srv01 mccsrv01
lcls-srv01.slac.stanford.edu has address 172.27.8.25
Programmers' Guides, Users' Guides, Requirements, Design, Papers, Administration, How-To, Hardware, IOC, Database
[SLAC CPE Software Engineering Group][ SLAC Home Page]
Created by: Ken Brobeck 07-May-2010
Modified by Jingchen Zhou 28-Aug-2010