Webmaster Forumu - Webmaster Zone

Geri git   Webmaster Forumu - Webmaster Zone > Teknik Konular > Sunucu Yönetimi > Linux
Şifrenizimi Unuttunuz? Bize Katılın!

Cevapla
Görüntüleme: 937 - Cevaplar: 2  
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 29-04-2007, 16:13:05
BY_THUQ BY_THUQ isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Yaş: 23
Mesajlar: 28
iTrader: (0)
Tecrübe Puanı: 46
Puanları: 20
BY_THUQ üyemiz henüz acemi
Lightbulb /etc/named.conf

ark. lar


/etc/named.conf yanlışlıkla sildim

yedeğini nasıl buluruz ??
Alıntı ile Cevapla
  #2 (permalink)  
Alt 02-05-2007, 22:53:25
UfukGedik - ait Kullanıcı Resmi (Avatar)
UfukGedik UfukGedik isimli üyemiz çevrimdışıdır. (Offline)
Yeni Üye
No Status
 
Üyelik tarihi: 31/1/2007
Mesajlar: 13
iTrader: (0)
Tecrübe Puanı: 0
Puanları: 20
UfukGedik üyemiz henüz acemi
Standart

Kod:
include "/etc/rndc.key";

controls {
	inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};

acl "trusted" {sunucu 1.ip adresi;sunucu 2.ip adresi;127.0.0.1;};

//
// named.conf for Red Hat caching-nameserver 
//

options {
	directory "/var/named";
	allow-recursion { trusted; };
	allow-notify { trusted; };
	allow-transfer { trusted; };
	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
// 

zone "." IN {
	type hint;
	file "/var/named/named.ca";
};

zone "localdomain" IN {
	type master;
	file "/var/named/localdomain.zone";
	allow-update { none; };
};

zone "localhost" IN {
	type master;
	file "/var/named/localhost.zone";
	allow-update { none; };
};

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

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
	file "/var/named/named.ip6.local";
	allow-update { none; };
};

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

zone "0.in-addr.arpa" IN {
	type master;
	file "/var/named/named.zero";
	allow-update { none; };
};
Alıntı ile Cevapla
  #3 (permalink)  
Alt 19-05-2007, 13:24:13
Ugur1905 - ait Kullanıcı Resmi (Avatar)
Ugur1905 Ugur1905 isimli üyemiz çevrimdışıdır. (Offline)
Webmaster
No Status
 
Üyelik tarihi: 31/1/2007
Nerden: İstanbul-K.Çekmece
Mesajlar: 473
iTrader: (4)
Tecrübe Puanı: 53
Puanları: 139
Ugur1905 Helal emin adımlarla ilerliyorsun
Standart

Alıntı:
UfukGedik´isimli üyeden Alıntı Mesajı göster
Kod:
include "/etc/rndc.key";

controls {
	inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};

acl "trusted" {sunucu 1.ip adresi;sunucu 2.ip adresi;127.0.0.1;};

//
// named.conf for Red Hat caching-nameserver 
//

options {
	directory "/var/named";
	allow-recursion { trusted; };
	allow-notify { trusted; };
	allow-transfer { trusted; };
	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
// 

zone "." IN {
	type hint;
	file "/var/named/named.ca";
};

zone "localdomain" IN {
	type master;
	file "/var/named/localdomain.zone";
	allow-update { none; };
};

zone "localhost" IN {
	type master;
	file "/var/named/localhost.zone";
	allow-update { none; };
};

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

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
	file "/var/named/named.ip6.local";
	allow-update { none; };
};

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

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


tabi önce dosyayı oluşturmak gerek.

Alıntı:
cd /etc/
Alıntı:
rm -rf named.conf
sudo nano /etc/named.conf

veya dosyayı kayıt edip bir yere upload ettikten sonra dizine girip wget komutu ile çekebilirsin.
__________________
Kendini Bilmez

Konu Ugur1905 tarafından (19-05-2007 Saat 15:39:49 ) değiştirilmiştir..
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Opers.Conf RooTMasteR IRCd/Svs 2 29-03-2007 17:49:39
İrcservices.conf RooTMasteR IRCd/Svs 0 29-03-2007 00:09:13
unrealircd.conf DesTeK IRCd/Svs 1 29-03-2007 00:01:05
named hatası yardım ugorur Linux 2 31-01-2007 11:36:32
yardım named çalışmıyo ugorur Linux 7 27-01-2007 15:18:22


oyun , kontör , türkçe dizin

Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 01:59:45 .


Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Zone Org | 2006-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125