+ Responder ao Tópico



  1. #21
    robsonzornitta
    esse eh o named.conf que vai em /etc:

    // secret must be the same as in /etc/rndc.conf
    key mykey {
    algorithm hmac-md5;
    secret "oriCelUSbPMypSjImBsiTHMauOumRPMkdBjoxVINAx0vxJZNRKGWzFCKibad";
    };

    controls {
    inet 127.0.0.1 port 953
    allow { 127.0.0.1; } keys { mykey; };
    };

    options {
    directory "/var/named/";
    pid-file "/var/run/named/named.pid"; // Put pid file in working dir
    auth-nxdomain yes;
    };

    zone "." {
    type hint;
    file "named.ca";
    };


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

    // workaround stupid stuff... (OE: Wed 17 Sep 2003)
    zone "ac" { type delegation-only; };
    zone "cc" { type delegation-only; };
    zone "com" { type delegation-only; };
    zone "cx" { type delegation-only; };
    zone "museum" { type delegation-only; };
    zone "net" { type delegation-only; };
    zone "nu" { type delegation-only; };
    zone "ph" { type delegation-only; };
    zone "sh" { type delegation-only; };
    zone "tm" { type delegation-only; };
    zone "ws" { type delegation-only; };

    zone "people.salto.br" {
    type master;
    file "people.zone";
    allow-update { key mykey; };
    };

    zone "100.168.192.in-addr.arpa" {
    type master;
    file "people.reversed";
    allow-update { key mykey; };
    };

  2. #22
    robsonzornitta
    esse eh o rndc.conf que vai em /etc:

    # Start of rndc.conf
    key mykey {
    algorithm hmac-md5;
    secret "oriCelUSbPMypSjImBsiTHMauOumRPMkdBjoxVINAx0vxJZNRKGWzFCKibad";
    };

    options {
    default-key mykey;
    default-server 127.0.0.1;
    default-port 953;
    };
    # End of rndc.conf



  3. #23
    robsonzornitta
    esse eh o rndc.key que tbm vai em /etc:

    key mykey {
    algorithm hmac-md5;
    secret "oriCelUSbPMypSjImBsiTHMauOumRPMkdBjoxVINAx0vxJZNRKGWzFCKibad";
    };

  4. #24
    robsonzornitta
    agora vamos começar no diretório /var/named
    esse eh o people.zone que vai no diretorio /var/named:

    $ORIGIN .
    $TTL 86400 ; 1 day
    people.salto.br IN SOA sunlight.people.salto.br. root.people.salto.br. (
    2001042703 ; serial
    86400 ; refresh (1 day)
    21600 ; retry (6 hours)
    3600000 ; expire (5 weeks 6 days 16 hours)
    3600 ; minimum (1 hour)
    )
    NS sunlight.people.salto.br.
    $ORIGIN people.salto.br.
    $TTL 86400 ; 1 day
    localhost A 127.0.0.1
    www A 192.168.100.1
    sunlight A 192.168.100.1



  5. #25
    robsonzornitta
    esse eh o arquivo people.reversed que vai em /var/named:

    $ORIGIN .
    $TTL 86400 ; 1 day
    100.168.192.in-addr.arpa IN SOA sunlight.people.salto.br. root.people.salto.br. (
    2001042702 ; serial
    28800 ; refresh (8 hours)
    14400 ; retry (4 hours)
    3600000 ; expire (5 weeks 6 days 16 hours)
    86400 ; minimum (1 day)
    )
    NS sunlight.people.salto.br.
    $ORIGIN 100.168.192.in-addr.arpa.
    $TTL 3600 ; 1 hour
    178 PTR sunlight.people.salto.br.
    23 PTR www.people.salto.br.






Tópicos Similares

  1. Respostas: 2
    Último Post: 24-12-2010, 10:49
  2. Problemas com YUM no fedora 3!!! public.gpg.key
    Por rafaeljoselitu no fórum Sistemas Operacionais
    Respostas: 2
    Último Post: 14-03-2007, 09:57
  3. Problemas com foreign key no MYSQL...
    Por kallunga no fórum Servidores de Rede
    Respostas: 6
    Último Post: 09-03-2005, 15:50
  4. Problema com o ssh pelo windows !!!
    Por embbr no fórum Servidores de Rede
    Respostas: 1
    Último Post: 01-07-2002, 18:10
  5. problemas com o IMP
    Por marlonfuchs no fórum Servidores de Rede
    Respostas: 0
    Último Post: 27-06-2002, 08:13

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L