EnderUNIX Team.


EnderUNIX İpucu

Arkadaşıma gönder , Ana Sayfa

[ Bind ]

"named.conf ayarları" - Hasan AHLATCI - (2005-09-19 16:16:20)   [4909]

hangi amaçla kurduğunuza bağlı olarak named.conf da yapılması gerekli olan ayarlar aşağıdaki gibidir.

Caching Name Servers

// options section fragment of named.conf
// recursion yes is the default and may be omitted
options {
directory "/var/named";
version "not currently available";
recursion yes;
};
// zone section
....
// the DOT indicates the root domain = all domains
zone "." IN {
type hint;
file "root.servers";
};



Forwarding (a.k.a Proxy) Name Servers

Global Forwarding - All Requests


// options section fragment of named.conf
// forwarders can have multiple choices
options {
directory "/var/named";
version "not currently available";
forwarders {10.0.0.1; 10.0.0.2;};
forward only;
};
// zone file sections
....


Per Domain Forwarding

// zone section fragment of named.conf
zone "example.com" IN {
type forward;
file "fwd.example.com";
forwarders {10.0.0.1; 10.0.0.2;};
};


Authoritative Only Server

// options section fragment of named.conf
// recursion no = limits caching
options {
directory "/var/named";
version "not currently available";
recursion no;
};
// zone file sections
....



Arkadaşıma gönder , Ana Sayfa