/var/named/konyadabiz.hosts dosyasinin bicimi bozuk, syntax hatasi var.
asagiya kopyalamissiniz ama orijinal dosya kopyaladiginiz gibi mi? Eger oyle
ise orda cok hata var:

mesela serial, refresh gibi aciklama bilgileri ; isaretinin ardinda olmali.
Asagiya yazdiginiz dosyada yeni bir satir gibi duruyor. Kopyalamaktan mi
ileri geliyor bunlar bilmiyorum ama /var/named/konyadabiz.hosts dosyasini
duzgunce kopyalayip orjinali ile ayni olduguna emin olduktan sonra tekrar
gonderin. Syntax hatalari dikkat ister.

Bir de zone "konyada.biz" IN { seklinde tanimlamalariniz. Orada IN olmamasi
gerekli, yanlis hatirlamiyorsam,

zone "konyada.biz" { seklinde olmali. FreeBSD kitabinin 365. sayfasinda
ornek bir tanimlama var.

bir diger problem orgin tanimlamadan
www     IN      CNAME   ns1

seklinde kisaltmalar tanimlamissiniz. Bunlar gecerli degil. Ya orgin
tanimlayin yada uzun uzun ns1.konyada.biz, www.konyada.biz yazin.

Kolay gelsin...

Baris Simsek
TURCom Iletisim A.S.
http://www.turcom.com.tr
http://www.telnet.com.tr

-----Original Message-----
From: ibrahim demirel [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 08, 2004 9:08 AM
To: [EMAIL PROTECTED]
Subject: [freebsd] Dns de sorun!

merhabalar,

dunku ns lerdeki sorunu registrar yapiyomus,
ns1.xyz.com u X.X.X.X ip si icin kaydettirdim.

baska bir sorun :)

dnsi calistirdigim da hosts dosyamda hata oldugunu
soyluyor loglar, sorun ne acaba... gerekli bilgiler
asagida..
saygilarimla
ibrahim demirel

[EMAIL PROTECTED] root]# service named start
[EMAIL PROTECTED] root]#                                      
    [  OK  ]
[EMAIL PROTECTED] root]# tail -f /var/log/messages
Jun  8 08:57:06 ns1 named[3069]: listening on IPv4
interface eth0, 10.0.0.5#53
Jun  8 08:57:06 ns1 named[3069]: command channel
listening on 127.0.0.1#953
Jun  8 08:57:06 ns1 named[3069]: zone
0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun  8 08:57:06 ns1 named[3069]:
/var/named/konyadabiz.rev:1: no TTL specified; using
SOA MINTTL instead
Jun  8 08:57:06 ns1 named[3069]: zone
0.168.192.IN-ADDR.ARPA/IN: loaded serial 2004060801
------------- hata verdigi yer
Jun  8 08:57:06 ns1 named[3069]: dns_rdata_fromtext:
/var/named/konyadabiz.hosts:1: near eol: unexpected
end of input
Jun  8 08:57:06 ns1 named[3069]: zone konyada.biz/IN:
loading master file /var/named/konyadabiz.hosts:
unexpected end of input
------------- hata verdigi yer son
Jun  8 08:57:06 ns1 named[3069]: zone localhost/IN:
loaded serial 45
Jun  8 08:57:06 ns1 named[3069]: running
Jun  8 08:57:06 ns1 named[3069]: zone
0.0.127.in-addr.arpa/IN: sending notifies (serial
1997022700)


konyadabiz.hosts
-----------------
@       IN      SOA     ns1.konyada.biz. 
root.konyada.biz.
                                     (
                                      2004060801 ;
Serial
                                      28800      ;
Refresh
                                      14400      ;
Retry
                                      3600000    ;
Expire
                                      86400      : Minimum

                                      )         
@       IN      NS      ns1.konyada.biz.
ns1     IN      A       192.168.0.4
www     IN      CNAME   ns1
mail    IN      CNAME   ns1


konyadabiz.rev
--------------
@       IN      SOA     ns1.konyada.biz.
root.konyada.biz.  (
                                      2004060801 ;
Serial
                                      28800      ;
Refresh
                                      14400      ;
Retry
                                      3600000    ;
Expire
                                      86400 )    ;
Minimum
@       IN      NS      ns1.konyada.biz.
4       IN      PTR     ns1.konyada.biz.
5       IN      PTR     vasili.konyada.biz.


named.conf
--------------------
// generated by named-bootconf.pl

options {
        directory "/var/named";

        forwarders {
                    144.122.199.90;         
                    212.156.4.4;
        
        };
        /*
         * 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 "." IN {
        type hint;
        file "named.ca";
};

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

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

zone "konyada.biz" IN {
        type master;
        file "/var/named/konyadabiz.hosts";
};

zone "0.168.192.IN-ADDR.ARPA" IN {
        type master;
        file "/var/named/konyadabiz.rev";
};


=====
-[Ýbrahim DEMIREL]-



        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve
http://www.mail-archive.com/[EMAIL PROTECTED]


---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/[EMAIL 
PROTECTED]


Cevap