Turned recursion off and now lookups not working - DNS

This is a discussion on Turned recursion off and now lookups not working - DNS ; I turned off recursive lookups in my bind server as recommended but now it will not resolve any domains (ie google.com) for clients. Any help appreciated. Below is my named.conf... options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; recursion no; ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Turned recursion off and now lookups not working

  1. Turned recursion off and now lookups not working

    I turned off recursive lookups in my bind server as recommended but now
    it will not resolve any domains (ie google.com) for clients. Any help
    appreciated. Below is my named.conf...

    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    recursion no;
    };

    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    allow-update { none; };
    };

    zone
    "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.ip6.arpa"
    IN {
    type master;
    file "named.ip6.local";
    allow-update { none; };
    };

    zone "255.in-addr.arpa" IN {
    type master;
    file "named.broadcast";
    allow-update { none; };
    };

    zone "0.in-addr.arpa" IN {
    type master;
    file "named.zero";
    allow-update { none; };
    };

    include "/etc/rndc.key";


    << Zone definitions after this point >>



  2. Re: Turned recursion off and now lookups not working

    wisptech@gmail.com wrote:
    > I turned off recursive lookups in my bind server as recommended but now
    > it will not resolve any domains (ie google.com) for clients. Any help
    > appreciated. Below is my named.conf...
    >
    > options {
    > directory "/var/named";
    > dump-file "/var/named/data/cache_dump.db";
    > statistics-file "/var/named/data/named_stats.txt";
    > recursion no;
    > };
    >


    I can only assume that you were using that instance of "named" for
    recursive and iterative resolution.

    recursive == resolution for google.com, yahoo.com, ......
    iterative == resolution for *your* authoritative domains.

    Not sure where the recommendation came from. I am pretty sure if it
    came from this group, they would have also informed you that if you
    need recursion, you will have to provide another instance of "named"
    to perform this function. Either another "named" process on that
    server or another physical server running "named".

    HTH,
    Kirk



  3. Re: Turned recursion off and now lookups not working

    try :
    recursion yes;
    allow-recursion { 10.5.4.0/24 ; 10.4.3.0/24 };


    Assuming 10.5.4.0/24 and 10.4.3.0/24 are networks you want
    to allow recursive lookups.

    --
    jbeasley@sdf.lonestar.org
    SDF Public Access UNIX System - http://sdf.lonestar.org



  4. Re: Turned recursion off and now lookups not working

    Should be...
    recursion yes;
    allow-recursion { 10.5.4.0/24 ; 10.4.3.0/24; };



    --
    jbeasley@sdf.lonestar.org
    SDF Public Access UNIX System - http://sdf.lonestar.org



+ Reply to Thread