din conf-ul meu (ignora partea cu dns holder,bla bla shi ai grija la
calea unde ishi scrie log-urile,ce te intereseaza e partea cu listen-on, bafta) :
logging {
category "default" { "default"; };
category "general" { "general"; };
category "database" { "database"; };
category "security" { "security"; };
category "config" { "config"; };
category "resolver" { "resolver"; };
category "xfer-in" { "xfer-in"; };
category "xfer-out" { "xfer-out"; };
category "notify" { "notify"; };
category "client" { "client"; };
category "network" { "network"; };
category "update" { "update"; };
category "queries" { "queries"; };
category "dispatch" { "dispatch"; };
category "dnssec" { "dnssec"; };
category "lame-servers" { "lame-servers"; };
category "unmatched" { "unmatched"; };
channel "default" {
file "/var/log/bind/default.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "general" {
file "/var/log/bind/general.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "database" {
file "/var/log/bind/database.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "security" {
file "/var/log/bind/security.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "config" {
file "/var/log/bind/config.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "resolver" {
file "/var/log/bind/resolver.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "xfer-in" {
file "/var/log/bind/xfer-in.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "xfer-out" {
file "/var/log/bind/xfer-out.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "notify" {
file "/var/log/bind/notify.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "client" {
file "/var/log/bind/client.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "network" {
file "/var/log/bind/network.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "update" {
file "/var/log/bind/update.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "queries" {
file "/var/log/bind/queries.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "dispatch" {
file "/var/log/bind/dispatch.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "dnssec" {
file "/var/log/bind/dnssec.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "lame-servers" {
file "/var/log/bind/lame-servers.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
channel "unmatched" {
file "/var/log/bind/unmatched.log" versions 2 size 10m;
print-time yes;
print-category yes;
};
};
options {
directory "/var/bind";
version "isp jmeker nefutat la icre de haxeri";
listen-on-v6 { none; };
listen-on { IP-UL_MEU_PE_CARE_ASCULTA_NAMED; };
pid-file "/var/run/named/named.pid";
max-cache-size 256m; # 256 mega de dns cache
max-cache-ttl 259200; # 3 zile de cache
max-ncache-ttl 3600; # o ora de negative cache
};
On Wed, 29 Sep 2004 08:56:48 +0200
"Emil Cheriches" <[EMAIL PROTECTED]> wrote:
> Vreau un simplu caching DNS dar care sa asculte pe adresa ip din reteaua
> locala(192.168.1.1).
> Am pus query-source address 192.168.1.1 port 53;
> Problema e ca in faza asta caching nu mai functioneaza...
> Cum fac?
>
> ---
> Detalii despre listele noastre de mail: http://www.lug.ro/
>
>
>
> !DSPAM:415a4f9f246721984518923!
>
--
petre daniel,system administrator,
romania data systems, pitesti branch
mobile 740.10.2196,phone 248.219917
---
Detalii despre listele noastre de mail: http://www.lug.ro/