feanor

Well-Known Member
Aug 13, 2001
836
0
316
Not enough detail to make a dent in this issue. First- did you search this forum for bind (named/nameserver/name service) related posts?

Secondly, what\'s in /var/log/messages ? Did you setup extended logging for the nameserver ? What does that logfile report (usually at /var/log/bind).....

Is port 53 open at your firewall, and available to be bound to within your machine?
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
8
318
back woods of NC, USA
I have seen it happen the last week or so and not one single zone or named.conf changed. Otherwise ran with no restarts for months. If it is just restarting for no real reason I have found that yahoo.com was down... HUH? you say.. well the chksrvd script does a nslookup on www.yahoo.com from your localhost nameserver to check to see if it works. :)
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
Do you trust chkservd?
Do you have any logs pertaining to the times in which bind failed?

I remotely poll services on all our cpanel boxes instead of relying on chkservd.... I disable that function as it appears to sometimes do more harm than good.
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
8
318
back woods of NC, USA
[quote:d5037e8e70]
Do you trust chkservd?
Do you have any logs pertaining to the times in which bind failed?

I remotely poll services on all our cpanel boxes instead of relying on chkservd.... I disable that function as it appears to sometimes do more harm than good.

[/quote:d5037e8e70]

Not to mention it will create a bunch of zombies :( I monitor from outside also but I run chksrvd and I restart it about every 2 hours.
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
708
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
check the /etc/bind/named.conf

AlaskaWolf had this problem and i think one problem was that he had a zone entry that was empty and the other possible problem was that their were alot of spaces in the named.conf file. for instance it should look liek this

zone \"domain.com\" {
type master;
file \"domain.com.db\";
}
zone \"2domain.com\" {
type master;
file \"2domain.com.db\";
}

but his looked like this
zone \"domain.com\" {
type master
file \"domain.com.db\";
}
zone \"2domain.com\" {
type master;
file \"2domain.com.db\";
}

it was all out of wack.

Bind 9 is very unforgiving. I still run bind 8 on our external nameservers (we run dns as a Dedicated server, we dont run it on every shared server.)
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
I am not too sure about this space problem. Are we talking about blank spaces inside a zone\'s definition or outside of it?
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
708
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
err my post didnt come out like i wanted it to.
lets try again except now underscores _ are equal to spaces.

Should look like this.

zone \"domain.com\" {
_____type master;
_____file \"domain.com.db\";
}
zone \"2domain.com\" {
_____type master;
_____file \"2domain.com.db\";
}

but his looked like this

____zone \"domain.com\" {
_______type master
__file \"domain.com.db\";
_________}

____________zone \"2domain.com\" {
___type master;
_______file \"2domain.com.db\";
__}


Hope that clears it up
 

ehsan

Well-Known Member
Dec 11, 2001
185
0
316
oh i had same problem and i found some bad looking spaces there, so i\'ve just clean them , i am waiting to see if i have it again or not.
thanks every body