[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] bind and recursion
- Subject: Re: [cobalt-users] bind and recursion
- From: Kim Schulz <kim@xxxxxxxxx>
- Date: Wed Nov 13 08:31:51 2002
- Organization: sslug
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, 13 Nov 2002 06:41:44 -0500 (EST)
Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> To fix bind for yur nameservers using allow-recursion be careful not
> to use
> allow-recursion no
> or
> allow-recursion { none; };
> use
> allow-recursion { ip.ad.re.ss1; ip.ad.re.ss2 };
>
> Sendmail and DNS are two services that need to use recursive lookups.
> So the ipaddress of the server at least should be allowed recursion
ok this is very temporary because it only works until next time you
change dns settings in the GUI.
here is a workaround (made on RaQ3 so line# could be different).
open /usr/admserv/cgi-bin/.cobalt/dns/index.cgi
goto line 1178
It should look like :
print NAMEDCONF "options {\n\tdirectory \"$Named_dir\";\n";
comment out this line (use #)
and add the following insted:
print NAMEDCONF "options {\n";
$options = `cat ./options.conf`;
print NAMEDCONF "$options";
Now you have your very own config file for the dns options in
/usr/admserv/cgi-bin/.cobalt/dns/options.conf
in options you just put the lines you would have had in the
options{ };
section in your named.conf file.
It should as a minimum contain the following line:
directory "/etc/named"
Hope this helps
--
Kim Schulz - Freelance Development | The Macintosh is Xerox technology
Email : kim @ schulz.dk | at its best.
Tlf : 51904262 |