How to fix bind hangs on generating rndc key

Posted In DNS - By Tum. On Wednesday, October 22nd, 2014 With 0 Comments

DNS
ถ้าหากทำการ setup DNS server เรียบร้อยแล้ว และ start named service ขึ้นมาพบว่าค้างอยู่ที่ Generating /etc/rndc.key: ดังตัวอย่าง

การแก้ไขปัญหา
ให้ gen rndc.key ขึ้นมาให้ด้วยคำสั่ง

จะได้ผลลัพธ์ดังนี้
wrote key file “/etc/rndc.key”

แต่ถ้าหากมีการทำ chroot ให้รันคำสั่งดังนี้

จะได้ผลลัพธ์ดังนี้

หลังจาก gen rndc.key เรียบร้อยแล้วให้ลอง start named ใหม่อีกครั้ง

Tags:

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*