Need to improve named performance

Ed LaFrance edl at connexinternet.com
Mon Nov 12 16:23:15 UTC 2012


Hello Alan -

Of course you are right, my bad.

Here's the entirety of my named.conf - there's nothing pertaining to 
logging in here, so I guess that means that 'log everything' is the 
default. I would only want to log critical named errors, so if anyone 
has syntax they have my gratitude:

options {
         directory "/var";
         auth-nxdomain no;
         pid-file "/var/run/named/named.pid";
         allow-recursion {
                 localnets;
         };

         allow-transfer {
             "none";
         };
};

key "rndc-key" {
         algorithm hmac-md5;
         secret "CeMgS23y0oWE20nyv0x40Q==";
};

controls {
         inet 127.0.0.1 port 953
         allow { 127.0.0.1; } keys { "rndc-key"; };
};

zone "." {
         type hint;
         file "named.root";
};

zone "0.0.127.IN-ADDR.ARPA" {
         type master;
         file "localhost.rev";
};

include "/etc/dnsmanager.include";


... dnsmanager.include contains nothing but the zone definitions.

Ed

On 11/12/2012 8:09 AM, Alan Clegg wrote:
>
> On Nov 12, 2012, at 10:58 AM, Ed LaFrance<edl at connexinternet.com>  wrote:
>
>> Currently I'm not using query logging, it's not in my options at all. Are you saying that named logging by syslog into /var/log/messages is controlled by named.conf? Seems unlikely, I'd think it would be a function of syslog.conf. I'm trying to learn more about it but I'm swamped this am, just thought I'd post here to see if anyone knows a quick way to exclude named from the syslog completely.
>
> Logging queries to syslog is not on by default (in ISC distributed BIND), so something is doing it.
>
> Send us your logging stanza...
>
> (And yes, I'm absolutely sure that logging queries to syslog is handled by named.conf)
>
> AlanC

-- 
(800) 362-7579 ext 1

+-------------------------------------------------------+
+ Colocation    Dedicated Servers   IPv4 & IPv6 Transit +
+-------------------------------------------------------+
Connex Internet Services, Inc.     direct: (916) 265-1568
11230 Gold Express Dr #310-313        fax: (916) 880-5663
Gold River, CA 95670            http://connexinternet.com
+-------------------------------------------------------+



More information about the bind-users mailing list