Hi all,
Im having some problem with my DNS. We are using a Linux web server as one of our web server which runs some live websites.When I trying to get the status of the DNS (NAMED) it comes the following error :

[root@ns milindras]# /etc/init.d/named status
rndc: connect failed: connection refused

The same error appears when Im trying to apply any changes on zone level for a selected doamin in WEBMIN. (Basically can't apply changes)

WEBMIN > Servers > BIND DNS servers > click a selected-domain.co.uk > Apply changes

NDC command failed : rndc: connect failed: connection refused

But the server seems to be running without effecting any probelms to the sites or users.
I have been searching weeks for this problem & couldn't find a solution.
And also Please note that Im bit new to Linux.

Server details :
Linux version 2.6.18-1.2257.fc5smp
Red Hat 4.1.1-1

Appreciate any help on this problem.

Recommended Answers

All 3 Replies

Yes the problem was sorted. It was a permission problem.

It may be a problem with your permission & ownership of your zone file.
ownership of your var/named/mydomain.com.zone as well as /var/named/<ipaddress.zone> should be "named"
changed it with this command
# cd /var/named
# chown mydomain.com.zone named named

also check chkconfig command

I Think it w

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.