Solved

Stopping named: rndc: connect failed: connection refused

Posted on 2004-10-20
3
733 Views
Last Modified: 2013-12-16
Hello,

I am facing the issue related to the named.
My /etc/named.conf is as per given below :

controls {
        inet 127.0.0.1 port 953
        allow { 127.0.0.1; } keys { "rndc-key"; };
};
// Setting up secondaries is way easier and the rough picture for this
// is explained below.
//
// If you enable a local name server, don't forget to enter 127.0.0.1
// into your /etc/resolv.conf so this server will be queried first.
// Also, make sure to enable it in /etc/rc.conf.

zone "." {
        type hint;
        file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.rev";
};

====================
and logs tell me :

Oct 19 18:23:07 nifty-west named[18478]: starting BIND 9.2.1 -u named
Oct 19 18:23:07 nifty-west named[18478]: using 1 CPU
Oct 19 18:23:07 nifty-west named[18480]: loading configuration from '/etc/named.conf'
Oct 19 18:23:07 nifty-west named: named startup succeeded
Oct 19 18:23:07 nifty-west named[18480]: no IPv6 interfaces found
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0, 65.75.176.150#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:1, 65.75.176.151#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:2, 65.75.176.152#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:3, 65.75.176.153#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:4, 65.75.176.154#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:5, 65.75.176.155#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:6, 65.75.176.156#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:7, 65.75.176.157#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:8, 65.75.176.158#53
Oct 19 18:23:07 nifty-west named[18480]: listening on IPv4 interface eth0:9, 65.75.176.159#53
Oct 19 18:23:07 nifty-west named[18480]: could not configure root hints from 'named.root': file not found
Oct 19 18:23:07 nifty-west named[18480]: loading configuration: file not found
Oct 19 18:23:07 nifty-west named[18480]: exiting (due to fatal error)
============================

Please help me..

Thank you,
0
Comment
Question by:sandeepaher
3 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 500 total points
ID: 12366642
You don't have a named.root file.  

Please check out:
http://www.tldp.org/HOWTO/DNS-HOWTO.html

That will tell you everything that you need to set up a cacheing name server.



0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now