Détails de mes fichiers de configurations


Fichiers de configuration du DNS


  • /etc/named.conf
    options {
    directory "/var/named";
    forwarders{
    212.83.128.3;
    212.83.128.4;
    };
    };
    zone "." {
    type hint;
    file "root.hint";
    };
    zone "starfleet.home"{
    type master;
    file "starfleet.home";
    notify no;
    };
    zone "0.0.127.in-addr.arpa"{
    type master;
    file "127.0.0";
    };
    zone "1.168.192.in-addr.arpa"{
    type master;
    file "192.168.1";
    notify no;
    };

  • /var/named/127.0.0.1
    @ IN SOA ncc1701d.starfleet.home. root.localhost. (
    20010115 ; serial
    86400 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; default_ttl
    )
    @ IN NS ncc1701d.starfleet.home.
    1 IN PTR localhost.

  • /var/named/192.168.1
    @ IN SOA ncc1701d.starfleet.home. root.starfleet.home. (
    2001011501 ; serial
    86400 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; default_ttl
    )
    @ IN NS ncc1701d.starfleet.home.
    2 IN PTR ncc1701d.starfleet.home.
    1 IN PTR feline.starfleet.home.
    10 IN PTR borg.starfleet.home.
    130 IN PTR ncc1701d.starfleet.home.
    131 IN PTR voyager.starfleet.home.

  • /var/named/starfleet.home
    @ IN SOA ncc1701d.starfleet.home. root.starfleet.home. (
    20010115 ; serial
    24H ; refresh
    2H ; retry
    1W ; expire
    86400 ; default_ttl
    )
    @ IN NS ncc1701d
    @ IN NS ncc1701d.starfleet.home.
    @ IN MX 10 mail.starfleet.home.
    ;
    localhost IN A 127.0.0.1
    ncc1701d IN A 192.168.1.2
    ncc1701d IN MX 10 mail
    ncc1701d IN HINFO "Pentium 133" "Serveur principal"
    ncc1701d IN TXT "MOI"
    www IN CNAME ncc1701d
    smtp IN CNAME ncc1701d
    pop IN CNAME ncc1701d
    news IN CNAME ncc1701d
    ntp IN CNAME ncc1701d
    proxy IN CNAME ncc1701d
    ;
    feline IN A 192.168.1.1
    feline IN MX 10 mail
    feline IN HINFO "Pentium 233" "Machine de bureau"
    ;
    borg IN A 192.168.1.10
    borg IN MX 10 mail
    borg IN HINFO "Serveur ppp" "Machine distante"
    ;
    voyager IN A 192.168.1.131
    voyager IN MX 10 mail
    voyager IN HINFO "Pentium 133p" "Portable"


    Fichiers de configuration de NFS


  • /etc/exports
    /home/image_a_voir (rw)
    /home/remi (rw)
    /home/scanne (rw)
    /mnt/cdrom (ro)
    /home/dom/exports (rw)




    © R. Suinot 2000/2001