|
Á¦ ¸ñ : bind¿¡¼ rndc¸í·É½Ã connection closed ¿¡·¯³ª¸é
ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
ÀÛ¼ºÀÏ : 2006.10.24(È)
rndc ½ÇÇàÇÒ ¶§ ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ¹ß»ýÇß´Ù¸é, rndc.conf ¼³Á¤À» Àß ¸ø Ç߰ųª rndc key °¡ Ʋ¸°
°æ¿ì(¶Ç´Â bind ÆÐŰÁö¸¦ ¾÷±×·¹À̵å ÇÏ¸é¼ ±âÁ¸ rndc.conf°¡ µ¤¾îÁö´Â °æ¿ì)ÀÌ´Ù. ÀÌ ¶§´Â
rndc-confgenÀ» ÀÌ¿ëÇØ¼ rndc.conf ¸¦ »õ·Î ¸¸µé°í, named.conf ¼³Á¤À» º¯°æÇÑ´Ù. rndc°¡ ½ÇÇà¾ÈµÇµµ,
³×ÀÓ¼¹ö¸¦ Á¦¾îÇÒ ¼ö ¾øÀ» »Ó ³×ÀÓ¼¹ö´Â Á¤»ó ¼ºñ½º °¡´ÉÇÏ´Ù.
|
# rndc status
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
| |
rndc-confgen ½ÇÇàÇÑ °á°úÀÌ´Ù.
|
# rndc-confgen
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "8/3+SqvIXExPTFTv3H2m5Q==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf <-- ¿©±â±îÁö /etv/rndc.conf (°æ¿ì¿¡ µû¶ó /etc/named/rndc.conf)¿¡ ³Ö´Â´Ù.
<-- ¿©±âºÎÅÍ ÁÖ¼® Á¦°ÅÈÄ /etc/named.conf (¶Ç´Â /etc/named/named.conf)¿¡ ³Ö´Â´Ù.
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "8/3+SqvIXExPTFTv3H2m5Q==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
| |
rndc ¼³Á¤¿¡ ´ëÇØ¼´Â 'FreeBSD¿¡¼ DNS ¼³Ä¡(bind9)' (±Û ÁÁÀºÁøÈ£)'À» »ìÆìº¸±â ¹Ù¶õ´Ù.
http://coffeenix.net/board_print.php?bd_code=1375
|