Well.. I assumed it to be BIND9 cos i have the same problem. ----- Original Message ----- From: ranjeet@nttindia.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, February 05, 2002 7:21 PM Subject: [ILUG-BOM] Re: rndc: connect: connection refused
amazhing .... my named startup script has following sniplet.. (not using BIND 9)
rhstatus() { /usr/sbin/ndc status return $? }
output ..
#/etc/rc.d/init.d/named status Sat Aug 5 13:21:24 EDT 2000 prospector@porky.devel.redhat.com:/ usr/src/bs/BUILD/bind-8.2.2_P5/src/bin/named number of zones allocated: 704 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF server is DONE priming server IS NOT loading its configuration
regards, ranjeet
Linux Lover writes:
Okie if u see the init script for named see
rhstatus() { /usr/sbin/rndc status return $?
and
status) rhstatus which means u are calling rndc status...
lilo
----- Original Message ----- From: ranjeet@nttindia.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, February 05, 2002 2:32 PM Subject: [ILUG-BOM] Re: rndc: connect: connection refused
hi ...
he was doing /etc/rc.d/init.d/named status ... which is fine .,...
rndc doesn't give status and akshay was not doing that also ...
host/nslookup is wht i mentioned or telnet to 53 port ..
regards, ranjeet
Linux Lover writes:
afaik status its not supported in rndc yet.. so best way to ckeck is to us nslookup. and see that ur bind...
regards lilo ----- Original Message ----- From: ranjeet@nttindia.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, February 05, 2002 1:15 PM Subject: [ILUG-BOM] Re: rndc: connect: connection refused
Hi ....
i don't think that ur DNS is running ....]
u said 'u feel ur dns is working'
means wht??? have u tried to telnet to ur 53 port ?
does doing host/nslookup to ur machine works??
if this works then there is no question of getting connection
refused
error
..
djbdns is also good alternative as kishor mentioned ... but BIND is also nice ... and working very well for me till now ..
Regards, ranjeet
> my dns/bind file > /etc/rc.d/init.d/named status > > does not show the status of whether dns is running or not. > it gives > rndc: connect: connection refused > > why? > i feel that my DNS is working fine... >