23-02-2012 01:28 tarihinde, Mucibirahman İLBUĞA yazdı:
> 23-02-2012 00:48 tarihinde, Özgür Gürsoy yazdı:
>> /var/named/chroot//etc/named.conf
> Bunu ben yazmadım. Ne hikmetse kendisi veriyor!
>> eminsin di mi ? hatalı yazmış olmayasın ?
>> /var/named/chroot/etc/named.conf içeriği nedir ?
>>
> [root@localhost ~]# cd /var/named/chroot/etc
> [root@localhost etc]# dir
> localtime  named.conf  rndc.key
> [root@localhost etc]# cat named.conf
> //
> // named.conf for Red Hat caching-nameserver
> //
> options {
>      directory "/var/named";
>      dump-file "/var/named/data/cache_dump.db";
>      statistics-file "/var/named/data/named_stats.txt";
> /*
>    * If there is a firewall between you and nameservers you want
>    * to talk to, you might need to uncomment the query-source
>    * directive below.  Previous versions of BIND always asked
>    * questions using port 53, but BIND 8.1 uses an unprivileged
>    * port by default.
>    */
> // query-source address * port 53;
> };
>
> //
> // a caching only nameserver config
> //
> controls {
>    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
>
> zone "localhost" IN {
>      type master;
>      file "localhost.zone";
>      allow-update { none; };
> };
>
> zone "mucipev.com" IN {
>      type master;
>      file "/var/named/mucipev.com.zone";
>      allow-update { none; };
> };

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


> zone "10.168.192.in-addr.arpa" IN {
>      type master;
>      file "/var/named/10.168.192.rev";
>      allow-update { none; };
> };
zone "10.168.192.in-addr.arpa" IN {
     type master;
     file "10.168.192.rev";
     allow-update { none; };
};


>
> include "/etc/rndc.key";
> [root@localhost etc]#
>
> son olarak:
>
>
> [root@localhost etc]# service named start
> Starting named:
> Error in named configuration:
> zone localhost/IN: loading master file localhost.zone: file not found
> _default/localhost/IN: file not found
> zone mucipev.com/IN: loading master file /var/named/mucipev.com.zone:
> file not found
> _default/mucipev.com/IN: file not found
> zone 10.168.192.in-addr.arpa/IN: loading master file
> /var/named/10.168.192.rev: file not found
> _default/10.168.192.in-addr.arpa/IN: file not found
>                                                              [FAILED]
> [root@localhost etc]#
>

named "/var/named/" dizinine erişemez. Zone dosyalarını 
"/var/named/chroot/var/named/" dizini içine atıp dene.
Çalışmazsa
#find /var/named -name "localhost.zone"
komutu ile localhost.zone dosyasını nereye atmış kontrol et ve senin 
dosyaları da o dizine at.


_______________________________________________
Linux-sunucu E-Posta Listesi
[email protected]

Liste kurallarını http://liste.linux.org.tr/kurallar.php  bağlantısından 
okuyabilirsiniz;

Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen 
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu

Cevap