And that needs to be a CIDR block:
>> allow-recursion {207.151.36.0/24;};
On 6/3/15 5:17 PM, Alan Clegg wrote:
> allow-recursion { ... };
>
> not
>
> allow-recursion ( ... );
>
> And you need a ; at the end of your list:
>
>> allow-recursion {207.151.36.0;};
>
> On 6/3/15 5:1
allow-recursion { ... };
not
allow-recursion ( ... );
And you need a ; at the end of your list:
> allow-recursion {207.151.36.0;};
On 6/3/15 5:14 PM, Samad Agha wrote:
> I put the allow-recursion clause under my options, the #service named
> restart failed. Where exactly should I place
I put the allow-recursion clause under my options, the #service named
restart failed. Where exactly should I place this allow-recursion clause?
[root@new-dns2 ~]# cat /etc/named.conf
options {
directory "/var/named";
allow-recursion (207.151.36.0);
};
zone "0.0.127.in-addr.arpa"
Dear Tony, Bob, & Matus,
Thank you very much for your advice, you guys are awesome.
On Wed, Jun 3, 2015 at 1:03 PM, Matus UHLAR - fantomas
wrote:
> On 03.06.15 12:34, Samad Agha wrote:
>
>> So, when I query my new DNS server from itself (206.117.115.93), it
>> resolves the name to an IP, but wh
On 03.06.15 12:34, Samad Agha wrote:
So, when I query my new DNS server from itself (206.117.115.93), it
resolves the name to an IP, but when I query my new DNS server from another
Linux box, it fails with the following error message.
you must allow BIND to provide recursive DNS for other hosts
If you don't specify recursion (or query-cache or allow-query), then the
default is:
allow-recursion (localnets; localhost;)
Which means only things on the connected subnets are allowed to make
recursive queries, all others get REFUSED.
So add an allow-recursion ( .. subnet list ..); to your
Samad Agha wrote:
>
> So, when I query my new DNS server from itself (206.117.115.93), it
> resolves the name to an IP, but when I query my new DNS server from another
> Linux box, it fails with the following error message.
> ** server can't find google.com: REFUSED
By default, BIND allows queri
I put together a simple working DNS server and called it new-dns2 with the
IP address of 206.117.115.93. My configuration files follow:
[root@new-dns2 ~]# cat /etc/named.conf
options {
directory "/var/named";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0"
8 matches
Mail list logo