[Linux-sunucu] dns sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Osman Ayhan (mefe@mefe.net)
Date: Fri 17 Jun 2005 - 17:31:54 EEST


asagida makinama ait tüm bilgiler yer almaktadir.
makinanin kendisinden
ping router
dedigimde yanit alabiliyorum
ancak localde bir makinanin dns lerini bu makina yaparsam
localdaki makinamdan
ping router
dedigimde ulasamiyorum ama

ping router.mertce.com
dedigimde cevap alabiliyorum

yanlizca ping router dedigimde cevap alabilmek için ne yapmam lazim

Host Name : MailServer
Domain Name : mertce.com
ip : 192.168.0.10
router : 192.168.0.201
/etc/hosts------------------------------------------------
127.0.0.1 localhost
192.168.0.10 MailServer.mertce.com MailServer

/etc/host.conf--------------------------------------------
order hosts, bind

/etc/resolv.conf------------------------------------------
domain mertce.com
nameserver 127.0.0.1

/etc/named.conf ------------------------------------------
 options {
         directory "/var/named";
         forward first;
         forwarders {
                 212.156.4.1;
                 212.156.4.4;

         };
 };

 logging {
  category lame-servers { null; } ;
 };

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

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

 zone "1.168.192.in-addr.arpa" {
         type master;
         allow-update { none; };
         file "mertce.rev";
 };

/var/named/localhost.rev------------------------------------
$TTL 3D
@ IN SOA MailServer.mertce.com. root.mertce.com. (
                                2005061701 ; Serial
                                8H ; Refresh
                                2H ; Retry
                                4W ; Expire
                                1D ) ; Minimum

@ IN NS MailServer.mertce.com.
1 IN PTR localhost.

/var/named/mertce.zone------------------------------------

$TTL 3D
@ IN SOA MailServer.mertce.com. postmaster.mertce.com. (
                                2005061702 ; serial:
                                8H ; refresh, seconds
                                2H ; retry, seconds
                                4W ; expire, seconds
                                1D ) ; minimum, seconds

        NS MailServer
        MX 10 mail.mertce.com.

localhost A 127.0.0.1
MailServer A 192.168.0.10
router A 192.168.0.201

/var/named/mertce.rev------------------------------------
$TTL 3D
@ IN SOA MailServer.mertce.com. postmaster.mertce.com. (
                        20040312 ; Serial, todays date + todays serial
                        8H ; Refresh
                        2H ; Retry
                        4W ; Expire
                        1D) ; Minimum TTL

                NS MailServer.mertce.com.

201 PTR router.mertce.com.
10 PTR MailServer.mertce.com.

_______________________________________________
Linux-sunucu mailing list
Linux-sunucu@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.