turning on recursion in bind 9.2.2 makes ssh login prompt slow

r37ribution at gmail.com r37ribution at gmail.com
Wed Jan 16 12:57:50 UTC 2008


Alright this is really strange but every time I turn on recursion in
named.conf every ssh connection hangs after you enter the user name when
trying to log in to any box using this server for DNS. After about 30sec to
1min the password prompt comes up and the ssh connection runs fine after
that.


Here is my named.conf:

// BIND Version 9 configuration file.

//

options {

       directory           "/var/opt/dnsfiles";

       dump-file           "/var/opt/dnsfiles/tmp/named_dump.db";

       pid-file            "/usr/local/run/named.pid";

           // version statement for security to avoid hacking known
weaknesses

           version "not currently available";

           recursion yes;

};

include "/etc/rndc.key";

controls {

        inet 127.0.0.1 allow {127.0.0.1; } keys { "rndc-key"; };

};

zone "bms.n2bb.com" in {

  type master;

  file "db.bms.n2bb.com";

  // to allow salve transfers, add slave ips in place of 'none'

  allow-transfer { any; };

};

zone "1.84.168.in-addr.arpa" in {

  type master;

  file "db.168.84.1";

  // to allow salve transfers, add slave ips in place of 'none'

  allow-transfer { any; };

};

zone "localhost" in {

  type master;

  file "localhost.zone";

};

zone "0.0.127.in-addr.arpa" in {

  type master;

  file "named.local";

};



Any help is greatly appreciated.




More information about the bind-users mailing list