Subject : DNS setup시 주의사항(1.X)
Description :
o DNS setup을 client로 할경우 필요한 절차는 다음과 같음
1. 일단 NIS를 set up함
vi /var/yp/Makefile 을 수정함
#
# @(#)make.script 1.36 90/12/20 SMI
#
# This file should reside in both /var/yp/Makefile and /usr/lib/NIS.Makefile.
# It should only be executed from /var/yp.
# Placement in /usr/lib is for the assistance of SysAdmins who have servers
# with releases prior to SunOS 4.1.1 Rev B and thus do not have the
# "timezone", "auto.master" and "auto.home" NIS maps. This will provide
# them easy access to a version of Makefile with those new maps.
#
# Set the following variable to "-b" to have NIS servers use the domain name
# resolver for hosts not in the current domain.
#B=-b ---> B=-b
B= ---> #B= 로 변경함
DIR =/etc
DOM = `domainname`
NOPUSH = ""
ALIASES = /etc/aliases
YPDIR=/usr/etc/yp
YPDBDIR=/var/yp
YPPUSH=$(YPDIR)/yppush
MAKEDBM=$(YPDIR)/makedbm
REVNETGROUP=$(YPDIR)/revnetgroup
STDETHERS=$(YPDIR)/stdethers
STDHOSTS=$(YPDIR)/stdhosts
MKNETID=$(YPDIR)/mknetid
MKALIAS=$(YPDIR)/mkalias
2. vi /etc/resolv.conf 작성
domainname most.go.kr
nameserver 134.75.30.1
그러면 ypbind가 알아서 참조함
o DNS setup을 server로 할경우 in.named가 수행됨
1. vi /etc/rc.local
if [ -f /usr/etc/in.named -a -f /etc/named.boot ]; then
in.named; echo -n ' named'
fi
Revision History
작성일자 : 96.06.17
작성자 : 이진수
수정일자 :
수정자