LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-24-2006, 10:12 PM   #1
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Unhappy Problems with BIND-9.2.3 - No Recursion


Hello All, I am running a Slackware 10.X machine which is running BIND-9.2.3 and functioning as our DNS. When I have run a DNS report from http://www.dnsreport.com I find that it says that the nameserver is recursive. Since it appears that this is the default state of the configuration, it recommends that I disallow recursion by adding to the options section "recursion no". My exact option line is as follows:

options {
directory "/var/named";
};

This line works fine.

When I add the recursion statement to it, it fails to start. When I add it I add it like thus:

options {
directory "/var/named";
recursion no;
};

It really pukes when I do this. Can anyone offer any insight as to why this would be happening? I have searched the on line manual in /usr/share/doc/BIND-9.2.3 ARM directory and online at all the usual places and it would seem that my syntax is correct. Any and all assistance is really appreciated.
 
Old 11-24-2006, 11:03 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
What do you mean by "pukes"? Does named fail to start? Is there an error in /var/log/messages (or whatever the appropriate log file is--try "grep named /var/log/*" to find where named is logging to)? Do queries not work? If so, which queries? Queries from internal clients for internal addresses? Queries from internal clients about external addresses? External for external?

The syntax looks OK, but more information is needed to diagnose the problem.
 
Old 11-24-2006, 11:17 PM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
Sorry, frustration was monting. By "pukes" I mean that it literally fails to start. As an additional update, I placed Webmin on this server to see if it could assist. When I told it to not be recursive in Webmin and restarted from within Webmin, no resolution was taking place. I didn't look at the config file to see what exactly it did nor did I ps -aux | grep named to see if it was in fact running. But, from a client machine there was no resolution taking place. When I went back and removed the statement regarding recursion (put it back to default) and restarted it worked okay.

Any ideas?

TIA!
 
Old 11-25-2006, 12:09 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Try limiting recursion with a
allow-recursion{ ...; };
statement? Just restrict recrusion to your local IPs and see if that works.
 
Old 11-25-2006, 11:10 AM   #5
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Original Poster
Rep: Reputation: 31
I'll try that and see. Thanks! I'll repost either way and let you know.
 
  


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
Recursion to find Max harrylee2003 Programming 2 07-27-2006 10:30 AM
Recursion in C hubabuba Programming 12 10-03-2005 07:46 AM
Perl, recursion ivanatora Programming 11 03-14-2005 01:49 PM
tar: '--no-recursion' option doesn't prevent recursion Earl Parker II Slackware 12 08-17-2004 02:49 AM
help with recursion function debdas Programming 4 05-14-2003 03:03 AM

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

All times are GMT -5. The time now is 05:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration