Solved

BIND 8 crashing

Posted on 2001-07-18
7
215 Views
Last Modified: 2010-03-18
I'm relatively new to using BIND and am having a bit of a problem.  We are running a preconfigured BIND 8 on a Redhat box, we just used a webmin tool to add the domain and hosts we required.  Everything seems to work fine, it resolves names normally etc, until sometimes it simply seems to stop (normally I find this out because my email client starts complaining that it can't find the domain).  We have been solving it by rebooting the box, whereat it will run smoothly for another period of days before dying again.

Like I say I'm new to BIND so I'm not really sure what I'm lokoing for to debug this problem, any advice would be appreciated.
0
Comment
Question by:izwiz
  • 4
  • 2
7 Comments
 
LVL 16

Accepted Solution

by:
The--Captain earned 100 total points
ID: 6297190
I noticed this problem quite a bit when I used to run bind 8 (I always guessed it was some stupid script kiddie DoS/bind hack attempt) - I now use bind 9.1 w/ no problems.  The workaround we used in the past was to spawn named via init (you have to use the '-f' option when running it from inittab).  Cheesy, I know, but for those who would rather avoid an upgrade, it seems to work.

-Jon

0
 
LVL 3

Author Comment

by:izwiz
ID: 6297532
Cheers, I'll try upgrading later today.
0
 
LVL 5

Expert Comment

by:matt023
ID: 6303640
for now you don't have to reboot the server.  just kill named and restart it.  kill -9 `cat /var/run/named.pid`
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 16

Expert Comment

by:The--Captain
ID: 6303668
Obviously.

I think the main problem here is that manual intervention is required to maintain the DNS server (which should not be necessary).

-Jon

0
 
LVL 16

Expert Comment

by:The--Captain
ID: 6303672
izwiz - bind9 requires a much stricter adherence to the RFC wrt it's zone files - if you need help making your zone files load into bind9, feel free to ask for assistance...

-Jon

0
 
LVL 3

Author Comment

by:izwiz
ID: 6330051
I didn't upgrade to 9, I just went to the latest 8 version (I need to use 8 because the webmin tool that the people who will be using the box only does 8).  So far no crashes, so I guess you can have the points!
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 6330334
Thank you.  I've heard that versions of bind 8 released after bind 9 (don't ask) are pretty good as well, so you should be OK.  

If all else fails remember the inittab trick hehe

-Jon

0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question