You use "recursion yes" along with "allow-recursion" to restrict it to a
set IP range.
You don't need "nameserver 0.0.0.0" in your resolv.conf as that will
just confuse things because it's not a valid IP address. Leave it as
"nameserver 127.0.0.1"

Andy.


Jarek Buczyński wrote:
>> Use allow-recursion { ip_range; }; to set which clients are allowed to
>> use recursion through your nameserver.
>>
>> Your resolv.conf also needs the proper IP(s) of your DNS server (even if
>> it's 127.0.0.1 (localhost))
>>

>
> I've changed this but it isn't working:
>
> named.options:
>
> allow-recursion{
> 127.0.0.1;
> };
>
> ---------
>
> Resolve.conf:
>
> nameserver 0.0.0.0
> nameserver 127.0.0.1
>
> ---------
>
> Syslog:
> named[25457]: both "recursion no;" and "allow-recursion" active
>
> ---------
>
> ping isc.org
> ping: unknown host isc.org
>
> ---------
>
> Can I mix this two options? (recursion no and allow-recursion).
> Why it still dosn't work?
>
> --
> Best regards
>
>
>
> !DSPAM:37,45d6e4af18511697088837!
>
>
>



--
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834