Subject : DNS¸¦ Cache Only Server·Î ¼¼ÆÃÇÏ´Â ¹æ¹ýÀº?
Description :
To install DNS as Cache Only Server
;
1. copy 'named.boot' and 'resolv.conf' files to /etc.
2. make '/usr/local/dns' directory.
3. copy 'localhost.rev' and 'root.cache' files to /usr/local/dns
4. modify 'named.local' to fit your system as follow.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
;localhost.rev
@ IN SOA ring.kotel.co.kr hsbyun.ring.kotel.co.kr (
---------------- -------------------------
1.1 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ring.kotel.co.kr.
-----------------
1 IN PTR localhost.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
change the underline parts to fit your system
1) 'ring.kotel.co.kr' is the name of the host on which this data
resides.
2) 'hsbyun.ring.kotel.co.kr' is the mailing address for the person
responsible for the name server.
5. modify 'resolv.conf' to fit your system as follow.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
domain kotel.co.kr
nameserver 128.134.1.1
nameserver 147.6.1.2
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Change the part "domain" to your domain name.
6. type 'in.named'
Âü°í > °ü·Ã ÈÀϵé
¨ç # vi localhost.rev
; /usr/etc/domain/named.local, v 1.0 1990/3/30
@ IN SOA ring.kotel.co.kr hsbyun.ring.kotel.co.kr (
1.1 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ring.kotel.co.kr.
1 IN PTR localhost.
------------------------------------------------------------------------------------------
¨è # vi named.boot
;
; named.boot
directory /usr/local/dns
;
; type domain source host/file
cache . root.cache
primary 0.0.127.in-addr.arpa localhost.rev
forwarders 128.134.1.1 147.6.1.2 143.248.1.177
-----------------------------------------------------------------------------------------
¨é # vi resolv.conf
domain kotel.co.kr
nameserver 128.134.1.1
nameserver 147.6.1.2
----------------------------------------------------------------------------------------
¨ê # vi root.cache
; /usr/etc/domain/root.cache
. 292770 IN NS han.hana.nm.kr.
292770 IN NS ring.kotel.co.kr.
292770 IN NS ns.kaist.ac.kr.
han.hana.nm.kr. 292770 IN A 128.134.1.1
ring.kotel.co.kr. 292770 IN A 147.6.1.2
ns.kaist.ac.kr. 292770 IN A 143.248.1.177
Revision History
ÀÛ¼ºÀÏÀÚ : 96.06.17
ÀÛ¼ºÀÚ : ÀÌÁø¼ö
¼öÁ¤ÀÏÀÚ :
¼öÁ¤ÀÚ