[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

recursion error

Hi all

i was a recursion error on my dns server and i'm trying to fix this but can't get through. We are running BIND.

I tried to add the following last 2 lines in my options and the acl for my ip addresses but i cannot use the service after restarting. The service restarts but cannot resolve domains.

thanks

options {
        directory "/var/named";
        allow-transfer { "my 2nd dns server IP"; };
        allow-recursion { "int-clients" };
        recursion no;

};

acl int-clients {
        X.X.X.X/24;
        X.X.X.Y/24;

};
0
lemaitre75
Asked:
lemaitre75
1 Solution
 
XoFCommented:
do you have a zone entry for the root zone and an appropriate root.hint file installed?
0
 
Gabriel OrozcoSolution ArchitectCommented:
try with this: (check some semi-colon missing)

acl int-clients { X.X.X.X/24;  X.X.X.Y/24;  };
options {
        directory "/var/named";
        allow-transfer { "my 2nd dns server IP"; };
        allow-recursion { int-clients; };       <---- you missed a semicolon here
};

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now