LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-21-2004, 12:17 AM   #1
caocon
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
DNS proplem with rndc


Quote:
[root@caocon root]# dig -x 127.0.0.1

; <<>> DiG 9.2.3 <<>> -x 127.0.0.1
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@caocon root]# rndc start
rndc: connect failed: connection refused
[root@caocon root]#

File rndc not work that mean DNS not work right ?

could you tell me how to make it works ???

Thanks alot !
 
Old 10-21-2004, 12:22 AM   #2
BillJennings
Member
 
Registered: Oct 2004
Location: Big River, California, USA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
It looks like your name server has not started. You must be running a name server on the local machine for this to work. If you think you have started a name server (such as bind) check you log files to see if it was successful (usually /var/log/daemon.log).

Hope this helps.

Bill Jennings
 
Old 10-21-2004, 12:23 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Have you installed and configured a DNS server?
 
Old 10-21-2004, 07:46 AM   #4
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
@caocon

Show ur named.conf file over here !


-jack
 
Old 10-21-2004, 09:10 AM   #5
caocon
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
$TTL 86400
@ IN SOA ns.caocon.com. hostmaster.caocon.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum

;

TXT "caocon.com, your DNS consultants"
NS ns ; Inet Address of name server
NS ns.friend.com.
MX 10 mail ; Primary Mail Exchanger
MX 20 mail.friend.com. ; Secondary Mail Exchanger
zone "caocon.com" IN {
type master;
file "caocon.com";
allow-update { none; };
};


include "/etc/rndc.key";

Something wrong ??
Please help me .

Thanks alot

that is my name.conf


And this is my caocon.conf at /var/named


Quote:
$TTL 86400
@ IN SOA ns.caocon.com. hostmaster.caocon.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum

;

TXT "caocon.com, your DNS consultants"
NS ns ; Inet Address of name server
NS ns.friend.com.
MX 10 mail ; Primary Mail Exchanger
MX 20 mail.friend.com. ; Secondary Mail Exchanger
 
Old 10-21-2004, 11:47 PM   #6
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
I think u have paster u r named.conf file from somewhere else.

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

should be


controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; }
keys { "rndc-key"; };
};

Try changine above
start named with this also
#/etc/init.d/named start

get back with result for any query.


-jack

Last edited by emailssent; 10-21-2004 at 11:49 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rndc works, but rndc stats doesnt havok1977 Linux - Networking 2 04-08-2010 03:18 PM
DNS problem rndc: connect failed connection refused error suchi Linux - Networking 14 05-27-2007 11:51 AM
DNS rndc service errror emailssent Linux - Networking 12 09-08-2006 07:01 AM
DNS Problem - rndc: connect failed: connection refused krishvij Linux - Newbie 2 04-25-2005 07:40 AM
DNS, Bind, rndc update issue jujuman Linux - Networking 8 03-04-2005 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration