Solved

Stopping named: rndc: connect failed: connection refused

Posted on 2004-10-20
3
736 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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-…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 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

20 Experts available now in Live!

Get 1:1 Help Now