³×ÀÓ¼¹ö¸¦ ¼³Á¤ÇÏ°í ³ ÈÄ¿¡´Â ¾Æ·¡ÀÇ ¸í·É¾î·Î ¼³Á¤»çÇ×À» °Ë»çÇÒ ¼ö ÀÖ½À´Ï´Ù.
named-checkconf ¸í·É°ú named-checkzone ¸í·É¾î¿¡ ´ëÇÑ »ç¿ë¹ýÀ» ¾Ë¾Æº¸°Ú½À´Ï´Ù.
========================================================== named-checkconf - /etc/named.conf ÆÄÀÏÀ» °Ë»çÇÏ´Â ¸í·É
-»ç¿ë¹ý named-checkconf [named ¼³Á¤ÆÄÀÏ °æ·Î]
[root@server21010910234 root]# named-checkconf /etc/named.conf [root@server21010910234 root]#
¿£Å͸¦ ÃÆÀ»¶§ À§¿Í °°ÀÌ ¾Æ¹«·± ¹ÝÀÀ¾øÀÌ ÇÁ·ÒÇÁÆ®°¡ ¶³¾îÁö¸é named.conf ÆÄÀÏ¿¡ ÀÌ»óÀÌ ¾ø´Â °Í ÀÔ´Ï´Ù.
=========================================================== named-checkzone - /var/named µð·ºÅ丮 ÇÏÀ§¿¡ ¼³Á¤ÇÑ zone ÆÄÀÏÀ» °Ë»çÇÏ´Â ¸í·É
-»ç¿ë¹ý named-checkzone [zone ³×ÀÓ] [zone ÆÄÀÏ °æ·Î]
------------------------------ zone "yahoo.com" IN { type master; file "yahoo.zone"; allow-update { none; }; }; ------------------------------
/etc/named.conf ÆÄÀÏ¿¡ À§¿Í °°ÀÌ zone ¼³Á¤ÀÌ µÇ¾î ÀÖÀ»¶§, ¾Æ·¡¿Í °°Àº ¹æ¹ýÀ¸·Î °Ë»ç¸¦ ÇÒ ¼ö ÀÖ½À´Ï´Ù.
[root@server21010910234 root]# named-checkzone yahoo.com /var/named/yahoo.zone zone localhost/IN: loaded serial 42 OK [root@server21010910234 root]#
|
|
|