CnUnix

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ CnUnix ] in KIDS
글 쓴 이(By): cds ()
날 짜 (Date): 1995년07월27일(목) 15시55분33초 KDT
제 목(Title): [Re] DNS 쉽게 까는 방법



4.1) How do I use DNS w/o using NIS or NIS+?

    Under SunOS 4.1 it was next to impossible to run DNS name resolution
    without either a kludge fix or the NIS (V2 I guess). Under Solaris
    2.1 it is incredibly simple, but you must ignore what the manual
    (SunOS 5.1 Administering NIS+ and DNS) says (the manual is fixed
    in Solaris 2.2). All that is required to make a non-NIS host
    use the DNS for name resolution is to change the host: line in
    the /etc/nsswitch.conf file to the following:

    hosts:  files dns

    (i.e., when looking for hosts, look in /etc/hosts first, if not
    found there, try DNS, if still not found then give up) and set
    up a correct version of /etc/resolv.conf to tell the resolver
    routines (like gethostbyname) how to contact the DNS
    nameserver. You must have the names of machines which are
    somehow contacted during boot in the files in /etc and files
    must appear first in the hosts: line, otherwise the machine
    will hang during boot (at least ours did). Make sure that
    /etc/netconfig is using switch.so. (It does from the factory.)

 *씨디에스*
[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.