Installation de DNS

Jackson -  
 rbert -
Bonjour

On a installe' Mandrake 8 et BIND9 et apres avoir cree et modifie' les differents fichier, il semble ne pas marcher, en particulier ping nomd'hote repond inconnu.
Le controle de nslint est correct, nslookup dit:

> 127.0.0.1
Server: 81.199.8.2
Address: 81.199.8.2#53

** server can't find 1.0.0.127.in-addr.arpa.: NXDOMAIN

meme pour l'adresse effective de la machine

merci pour votre aide

Jackson, Suzanne et Jean

2 réponses

  1. herbert
     
    montre tes fichiers named.local
    named.ca named.conf svc.conf rc.config deja on verra si tu as oublié une declaration ou pas.
    0
    1. jackson
       
      bonjour,

      voici le fichier named.local :

      @ IN SOA linux.itelinux.
      root.linux.itelinux. (
      1997022700 ;
      Serial
      28800 ;
      Refresh
      14400 ;
      Retry
      3600000 ;
      Expire
      86400 ) ;
      Minimum
      IN NS linux.itelinux.

      1 IN PTR localhost.itelinux.

      le fichier named.ca :

      ; This file holds the information on root name
      servers needed to
      ; initialize cache of Internet domain name
      servers
      (e.g. reference this file in the "cache .
      <file>"
      configuration file of BIND domain name
      servers).

      This file is made available by InterNIC
      registration services
      under anonymous FTP as
      file /domain/named.root
      on server FTP.RS.INTERNIC.NET
      -OR- under Gopher at RS.INTERNIC.NET
      under menu InterNIC Registration
      Services (NSI)
      submenu InterNIC Registration
      Archives
      file named.root

      last update: Aug 22, 1997
      related version of root zone: 1997082200


      formerly NS.INTERNIC.NET

      3600000 IN NS
      A.ROOT-SERVERS.NET.
      A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4

      formerly NS1.ISI.EDU

      3600000 NS
      B.ROOT-SERVERS.NET.
      B.ROOT-SERVERS.NET. 3600000 A
      128.9.0.107

      formerly C.PSI.NET

      3600000 NS
      C.ROOT-SERVERS.NET.
      C.ROOT-SERVERS.NET. 3600000 A
      192.33.4.12

      formerly TERP.UMD.EDU

      3600000 NS
      D.ROOT-SERVERS.NET.
      D.ROOT-SERVERS.NET. 3600000 A
      128.8.10.90

      formerly NS.NASA.GOV

      3600000 NS
      E.ROOT-SERVERS.NET.
      E.ROOT-SERVERS.NET. 3600000 A
      192.203.230.10

      formerly NS.ISC.ORG

      3600000 NS
      F.ROOT-SERVERS.NET.
      F.ROOT-SERVERS.NET. 3600000 A
      192.5.5.241

      formerly NS.NIC.DDN.MIL

      3600000 NS
      G.ROOT-SERVERS.NET.
      G.ROOT-SERVERS.NET. 3600000 A
      192.112.36.4

      formerly AOS.ARL.ARMY.MIL

      3600000 NS
      H.ROOT-SERVERS.NET.
      H.ROOT-SERVERS.NET. 3600000 A
      128.63.2.53

      formerly NIC.NORDU.NET

      3600000 NS
      I.ROOT-SERVERS.NET.
      I.ROOT-SERVERS.NET. 3600000 A
      192.36.148.17

      temporarily housed at NSI (InterNIC)

      3600000 NS
      J.ROOT-SERVERS.NET.
      J.ROOT-SERVERS.NET. 3600000 A
      198.41.0.10

      housed in LINX, operated by RIPE NCC

      3600000 NS
      K.ROOT-SERVERS.NET.
      K.ROOT-SERVERS.NET. 3600000 A
      193.0.14.129

      temporarily housed at ISI (IANA)
      3600000 NS
      L.ROOT-SERVERS.NET.
      L.ROOT-SERVERS.NET. 3600000 A
      198.32.64.12
      housed in Japan, operated by WIDE

      3600000 NS
      M.ROOT-SERVERS.NET.
      M.ROOT-SERVERS.NET. 3600000 A
      202.12.27.33
      End of File

      et le fichier named.conf
      // generated by named-bootconf.pl


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

      controls {
      inet 127.0.0.1 allow { any; } keys { "key"; };
      };


      options {
      directory "/var/named";
      /*
      * 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 "." {
      type hint;
      file "named.ca";
      };

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

      zone "0.168.192.in-addr.arpa" {
      type master;
      file "itelinux.rev";
      };
      //
      // Déclaration pour la résolution de nom du domaine
      //
      zone "itelinux" {
      type master;
      file "itelinux";
      };


      Il n'y a pas les fichiers rc.config et svc. conf

      en outre le fichier hosts:

      127.0.0.1
      localhost.itelinux localhost
      192.168.0.153 linux
      192.168.0.112 www.iteletiq.com
      192.168.0.153 www.itelinux.com
      # documentation de PHP
      192.168.0.153 php.itelinux
      # myAdmin
      192.168.0.153 sql.itelinux
      192.168.0.153 www.bcmtlinux.com
      192.168.0.35 www.sadok1.com

      le fichier var/named/itelinux>
      @ IN SOA linux.itelinux.
      root.linux.itelinux.
      (

      1997022700 ; Serial

      28800 ; Refresh

      14400 ; Retry

      3600000 ; Expire

      86400 ) ; Minimum

      TXT "Serveur DNS primaire"

      NS linux

      NS linux.itelinux.

      MX 10 linux

      MX 20 linux.itelinux.

      localhost A 127.0.0.1

      linux A 192.168.0.153

      www CNAME linux
      smtp CNAME linux
      pop CNAME linux
      news CNAME linux
      kakusu A 192.168.0.112
      SDK A 192.168.0.84

      le fichier var/named/itelinux.rev

      @ IN SOA linux.itelinux.

      root.linux.itelinux.

      (

      1997022700 ; Serial

      28800 ; Refresh

      14400 ; Retry

      3600000 ; Expire

      86400 ) ; Minimum

      IN NS linux.itelinux.

      153 IN PTR linux.itelinux.

      112 IN PTR kakusu.itelinux.

      84 IN PTR sdk.itelinux.

      merci pour ton aide

      Jackson
      0
  2. rbert
     
    Il n'y a pas les fichiers rc.config et svc. conf
    c'est pas possible il en faut par contre peut etre que selon les distribs ca change de nom

    sur certains unix c'est svc svc.conf rc.config peut s'appeler rc.config.common etc...

    voir tes man pages pour identifier les noms de fichiers.
    0