|
Standard resource Records Format
name
|
ttl
|
address class
|
entry type
|
server
|
name : machine anme, @ is current domain
ttl ; time to live
address class : Internet TCP/IP
entry type (Resource Record Type)
SOA : Start of Authority, make begin of a zone - serial, reflash, retry,
expire, minimum
A : Internet Address
NS : Name Server
MX : Mail Exchange
HINFO : Host INFOmation
WKS : Well-Known Service
CNAME : Cannonical NAME
PTR : Pointer
IN : Internet System
server : IP address or Domain
¸î °¡Áö ¾ð±Þ...
serial
serial À̶õ ¹®ÀÚ¸¦ ¾Õ¼ º» page¿¡¼ ¹ß°ßÇßÀ» °ÍÀÌ´Ù. À̴ Ưº°ÇÑ Àǹ̸¦ °¡Áö´Â °ÍÀÌ ¾Æ´Ï¶ó, serial numberÀÇ
°»½ÅÀ¸·Î ÇØ´ç fileÀÌ updateµÇ¾ú´Ù´Â °ÍÀ» ¿ÜºÎ¿¡ ¾Ë·ÁÁÖ´Â °ÍÀÌ´Ù. ´Ù¸¥ Name ServerµéÀº ÀÌ serial number¸¦
º¸¸ç »õÁ¤º¸ÀÎÁö ¾Æ´ÑÁö¸¦ ÆÇ´ÜÇؼ cacheµÇ¾î ÀÖ´Â Á¤º¸¸¦ Á¦°øÇÒ °ÍÀÎÁö, ȤÀº »õ·Î¿î Á¤º¸¸¦ °¡Á®¿Ã °ÍÀÎÁö ÆÇ´ÜÇÏ°Ô µÈ´Ù.
¸¸¾à ´ç½ÅÀÌ named.hosts¶óµçÁö named.rev¿Í °°Àº °ÍÀ» ¼öÁ¤Çß´Ù¸é ¹Ýµå½Ã serial number¸¦ º¯°æÇØ¾ß ÇÑ´Ù.
ÀÚ½ÅÀÇ »ýÀÏÀ» ³ÖµçÁö ¾ÖÀÎÀÇ »ýÀÏÀ» ³ÖµçÁö, ¾îÁ¦ ÀܼҸ®·Î °áÀ縦 ³¡³»´ø »ó»çÀÇ Â÷¹øÈ£¸¦ ³ÖµçÁö, ¾î·µç ÀÌÀü¿¡ ÀÖ´ø serial
number¿Í´Â ´Ù¸¥ °ÍÀ» ³Ö¾î¾ß ÇÑ´Ù. ÀϹÝÀûÀ¸·Î serial number´Â ¼öÁ¤µÈ ³¯ÀÚ¸¦ ºÎ¿©ÇÑ´Ù.
NTÀÇ DNS´Â ù ¼öÁ¤ ¶© '1'À» µÎ¹ø°¿£ '2'¸¦ ºÎ¿©ÇÑ´Ù...
SOAÀÇ ³ª¸ÓÁö Ç׸ñ¿¡ ´ëÇؼ± º°´Ù¸¥ ¼³¸íÀÌ ÇÊ¿ä ¾ø´Ù. º¸À̴µ¥·Î ´À³¢°í ÀÌÇØÇÏ¸é µÇ°Ú´Ù. ÇÑ°¡Áö¸¸ ´õ ÀûÀÚ¸é TTL = Time
To Live ¶ó´Â Ç׸ñÀÌ µé¾î°¡±âµµ Çϴµ¥, °ú¿¬ ¾î´À °ü¸®ÀÚ°¡ ¸î ½Ã°£ ÈÄ¿¡ ÀÚ½ÅÀÇ in.named daemonÀÌ Áױ⸦
¹Ù¶ö±î... ¾î·µç ÀÌ Ç׸ñ µÚ¿¡ ½Ã°£À» ÁÖ¸é ±× ½Ã°£¿¡ service´Â ¸ØÃß°Ô µÈ´Ù.
CNAME
CNAME ÀÌ ÁöÁ¤ÇÏ´Â Ç׸ñÀº host nameÀ» aliaseÇÏ´Â °ÍÀÌ´Ù. ¾Õ PageÀÇ ¿¹¸¦ µç´Ù¸é red¶ó´Â À̸§Àº www·Î
aliaseµÇ¾î ÀÖ´Ù.
in.named
¾Õ¼ ±â¼úµÇ¾î ÀÖ´Â page´ë·Î ¼öÁ¤À» ¸¶ÃÆ´Ù¸é, ÀÌÁ¦ daemonÀ» ¶ç¿ö¾ß ÇÑ´Ù. /etc/rc2.d/S72inetsrv ¶ó´Â
ÆÄÀÏÀ» ¿°í ¾Æ·¡¿Í °°Àº °÷ÀÌ ÀÖ´ÂÁö ¾ø´ÂÁö È®ÀÎÇÑ´Ù. (¹°·Ð ÀÖ°ÚÁö¸¸ ^^; ¾ø´Ù¸é? ; ´ç¿¬È÷ ³Ö¾îÁÖ¾î¾ß ÇÑ´Ù)
#
# If this machine is configured to be an Internet Domain Name
# System (DNS) server, run the name daemon.
# Start named prior to: route add net host, to avoid dns
# gethostbyname timout delay for nameserver during boot.
#
if [ -f /usr/sbin/in.named -a -f /etc/named.boot ]; then /usr/sbin/in.named;
echo "starting internet domain name server."
fi
#
À§¿¡¼ º¸¸é /etc/named.boot¸¦ ã¾Æ¼ daemonÀÌ ¼öÇàµÊÀ» ¾Ë ¼ö ÀÖ´Ù. ÀÌ°ÍÀ» /var/named/named.bootÀ¸·Î
°íÃÄÁÖ´øÁö, symbolic link¸¦ °É¾îÁÖÀÚ. ¹°·Ð ¿øÇÏ´Â À̸§À¸·Î named.bootÀ» ¹Ù²Ù¾îÁ־ µÈ´Ù. (´Ù¸¥ ÆÄÀϵ鵵
¸¶Âù°¡Áö°ÚÁö¸¸...^^;) /var/named/ ¿¡ ¾Õ¼ À̾߱âÇØ µÎ¾ú´ø ÆÄÀϵéÀÌ Á¸ÀçÇÑ´Ù¸é Àç ½Ãµ¿½Ã "starting internet
domain name server" ¶ó´Â ¸Þ½ÃÁö¿Í ÇÔ²² in.named daemonÀÌ ÀÏÀ» ½ÃÀÛÇÒ °ÍÀÌ´Ù
|