Solved

Stopping named: rndc: connect failed: connection refused

Posted on 2004-10-20
3
744 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

695 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