LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2009, 06:21 PM   #1
KeeblerElfMatt
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
BIND / rndc issue


I've got BIND 9.5.1 installed and whenever I try to run rndc reload command (or anything to do with rndc) I get the following error:

socket.c:4755: 22/Invalid argument
rndc: connect: unexpected error


All seems to be configured properly. I've attached the named.conf, rndc.conf, and rndc.key files. I just cannot work out what's going on.
Attached Files
File Type: txt named.conf.txt (1,001 Bytes, 23 views)
File Type: txt rndc.conf.txt (252 Bytes, 23 views)
File Type: txt rndc.key.txt (94 Bytes, 18 views)
 
Old 05-27-2009, 02:31 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Edit rndc.conf and replace localhost with 127.0.0.1 in the default-server line
Code:
options {
        default-server 127.0.0.1;
        ...
Do the same for named.conf in the controls part:
Code:
controls {
       inet 127.0.0.1 allow { 127.0.0.1; }  keys { "rndckey"; };
 };
Hope that helps.

Regards
 
  


Reply



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
bind rndc not work:"rndc: connect failed: timed out" echox Linux - Server 3 11-07-2020 09:36 AM
[SOLVED] Bind and rndc problems!! How do I remove rndc? TylerD75 Linux - Server 4 01-06-2010 08:40 AM
Bind | rndc.key the_gripmaster Linux - Server 1 05-04-2007 07:00 AM
DNS, Bind, rndc update issue jujuman Linux - Networking 8 03-04-2005 09:02 AM
BIND/rndc Question m3kgt Linux - Networking 2 12-12-2003 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:49 PM.

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