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...