Bind9 dns

Bonjour,

j'ai installé bind9 sur ubuntu 11.04
cependant aprè configuration mon problème est que nslookup marche en inverse mè pas en direct

6 réponses

  1. root@serv-web:/etc/bind# nslookup 192.168.3.254
    Server: 192.168.3.254
    Address: 192.168.3.254#53

    254.3.168.192.in-addr.arpa name = serv-web.stjo.edu.

    root@serv-web:/etc/bind# nslookup serv-web.stjo.edu
    Server: 192.168.3.254
    Address: 192.168.3.254#53

    Non-authoritative answer:
    Name: serv-web.stjo.edu
    Address: 67.215.65.132

    root@serv-web:/etc/bind# nslookup serv-web
    Server: 192.168.3.254
    Address: 192.168.3.254#53

    ** server can't find serv-web: NXDOMAIN

    Voici mes resulat avec nslookup,svp d"ou vient le probleme?
    1. /etc/resolv.conf
      # Generated by NetworkManager
      domain stjo.edu
      search stjo.edu
      nameserver 192.168.3.254

      /etc/hosts
      192.168.3.254 serv-web.stjo.edu serv-web.
      192.168.3.254 www.stjo.edu
      127.0.0.1 localhost.localdomain localhost
      127.0.0.1 stjo.edu

      # The following lines are desirable for IPv6 capable hosts
      ::1 ip6-localhost ip6-loopback
      fe00::0 ip6-localnet
      ff00::0 ip6-mcastprefix
      ff02::1 ip6-allnodes
      ff02::2 ip6-allrouters
      1. voici mes configuration
        ;
        ; Configuration de la zone directe
        ;
        $TTL 604800
        @ IN SOA serv-web.stjo.edu. root.stjo.edu. (
        2 ; Serial
        604800 ; Refresh
        86400 ; Retry
        2419200 ; Expire
        604800 ) ; Negative Cache TTL
        ;
        @ IN NS serv-web.stjo.edu.
        serv-web IN A 192.168.3.254
        www IN CNAME serv-web
        ;
        ; Configuration de la zone inverse
        ;
        $TTL 604800
        @ IN SOA serv-web.stjo.edu. root.stjo.edu. (
        1 ; Serial
        604800 ; Refresh
        86400 ; Retry
        2419200 ; Expire
        604800 ) ; Negative Cache TTL
        ;
        @ IN NS serv-web.stjo.edu.
        254 PTR serv-web.stjo.edu.
        1. http://doc.ubuntu-fr.org/bind9
          1. oui je lè vu j'ai configurer mais xa ne march pas