BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: µµ¸ÞÀÎ µµ¸ÞÀÎŬ¶óÀ̾ðÆ®¼ÂÆà Á¶È¸¼ö: 7750


Domain Name Client Setup

¾Æ·¡´Â cnlab¿¡ ÀÖ´Â hosts¸¦ Ãâ·ÂÇÑ ³»¿ëÀÌ´Ù.


# Internet host table
#
127.0.0.1 localhost
202.31.147.68 cnlab.kunsan.ac.kr cnlab loghost
202.31.147.82 marine
202.30.55.11 knusun1 ks
202.31.147.66 cs
202.31.147.61 dragon
202.30.55.15 fs
#
domain name°ú hostÀÇ À̸§ÀÌ °áÇÕÇÏ¿© ÃÖÁ¾ÀûÀÎ system nameÀ»
¸¸µé°Ô µÇ´Âµ¥ kunsan.ac.krÀº knusun1 NetworkÀÇ domain nameÀÌ°í
cnlab.kunsan.ac.kr¿¡¼­ cnlabÀº kunsan.ac.krÀÇ domain¾È¿¡ ÀÖ´Â
cnlab hostÀÌ´Ù. ¿©±â¼­ krÀº Çѱ¹, ac´Â ´ëÇÐ,
kunsanÀº ±º»ê´ë, cnlabÀº cnlab(³×Æ®¿÷¿¬±¸½Ç)À» ÀǹÌÇÑ´Ù.
±×¸®°í ÀÌ·¯ÇÑ domain nameÀ» ¼­ºñ½ºÇÏ´Â ¼­¹ö¸¦
DNS(Domain Name Server)¶ó ºÎ¸¥´Ù.
±º»ê´ëÇб³ÀÇ DNS´Â ks.kunsan.ac.kr·Î º¸Åë »ç¿ëÇÏ°í ÀÖ´Ù.
ÇÏÁö¸¸ cnlab ¼­¹ö°¡ ´õ ¸¹Àº domainÁ¤º¸¸¦ °¡Áö°í Àְųª
cnlab ¼­¹ö°¡ Çѱ¹Àü»ê¿ø(http://www.nca.or.kr)¿¡
domain name service¸¦ µî·ÏÇØ ³õÀº »óŶó¸é cnlab.kunsan.ac.krÀ»
DNS·Î ¼³Á¤ÇØ ³õ°í ½áµµ ¹«¹æÇÏ´Ù.
±×·¯¹Ç·Î ÀڽŸ¸ÀÇ DNSµµ ±¸ÃàÇÒ ¼ö ÀÖ´Ù´Â ÀǹÌÀÌ´Ù.
ÇÏÁö¸¸ cnlabÀÌ kunsan network¿¡¼­ dns°¡ ¾Æ´Ñ °æ¿ì
½ÇÁ¦ dns¸¦ ÀÌ¿ëÇÏ°íÀÚ ÇÒ ¶§¿¡´Â
/etc/nsswitch.conf¸¦ ¼öÁ¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù.
¾Æ·¡¿¡¼­´Â ¼öÁ¤ÇÒ ºÎºÐÀ» Á¦½ÃÇÑ´Ù
[cnlab:root]/ :35 > more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd: files
group: files
hosts: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
[cnlab:root]/ :36 >

12Çà¿¡ ÀÖ´Â ¸¶Áö¸· files dns °¡ ¼öÁ¤ÇÑ ºÎºÐÀÌ´Ù.
¸¸¾à UNIX¼³Ä¡½Ã¿¡ NIS+, NIS, DNS¸¦ ¼³Á¤ÇÏ´Â ºÎºÐ¿¡¼­
DNS¸¦ Á¤ÇØÁÖÁö ¾ÊÀ¸¸é /etc/hosts ÆÄÀϸ¸ ÂüÁ¶ÇÏ¿©
name service¸¦ ¹ÞÀ» ¼ö¹Û¿¡ ¾ø´Ù. ±×·¡¼­ 12ÇàÀÇ ºÎºÐÀ» À§¿Í
°°ÀÌ ¹Ù²Ù¾î ÁÖ¸é /etc/resolv.conf°¡ È°¼ºÈ­µÇ¾î name service¸¦
¹ÞÀ» ¼ö ÀÖ°Ô µÈ´Ù. ÆÄÀÏÀÌ ¾ø´Ù¸é ¸¸µé¾î ÁÖ¾î¾ß ÇÑ´Ù.
domain name client´Â cnlab.kunsan.ac.kr°ú °°Àº ½Ã½ºÅÛÀ̸§ÀÌ
ÀԷµǾúÀ» ¶§, ±×°ÍÀÇ IP address¸¦ ¾Ë·Á´Þ¶ó°í ¿äûÇÏ´Â
±â´ÉÀ¸·Î Sun Solaris 2.x¿¡¼­´Â /etc/resolv.conf¸¸
´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇØ ³õÀ¸¸é µÈ´Ù.

[cnlab:root]/etc :39 > more /etc/resolv.conf
domain csnet.kunsan.ac.kr
nameserver 202.31.147.68
domain kunsan.ac.kr
nameserver 202.30.55.11
[cnlab:root]/etc :40 >
À§¿¡¼­ domainÀÌ kunsan.ac.krÀÌ¶ó ¼³Á¤µÇ¾î Àִµ¥,
ÀÌ°ÍÀ» ÇØ´ç¾÷üÀÇ domain nameÀ¸·Î ÀÔ·ÂÇØ ³õÀ¸¸é µÈ´Ù.
±×¸®°í nameserver´Â 202.30.55.11·Î µÇ¾î Àִµ¥,
ÇØ´ç¾÷ü¿¡ name server°¡ ÀÖ´Ù¸é ±× name serverÀÇ
IP address(±º»ê´ëÀÇ °æ¿ì 202.30.55.11)¸¦ ÀÔ·ÂÇØ ³õÀ¸¸é µÈ´Ù



°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2002/10/23 14:02 from 218.154.16.35

  ½ã½Ã½ºÅÛ ºÎÆÃÀýÂ÷ ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ ¸ÞÀϼ­¹ö ¼¼Æà  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡