[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bind9 probleme resolution nom -> ip



bonjour,

je galère avec bind9. Lorsque je fais un nslookup avec n'importe quelle IP, c'est nickel. Mais pour les noms ... rien !
Je n'ai comme réponse que : 


** serveur can't find jarod.bruley.org: NXDOMAIN


Il prend bien le bon serveur sur le serveur lui-meme et sur un client linux et un autre win$$$. Sur le serveur lui-meme 127.0.0.1 (serv et @) sur un client serveur:jarod.bruley.org et en @ 192.168.1.1

je vois vraiment d'où cela peut venir :((

Si c'est déjà arrivé à quelqu'un ou si on deux trois tuyaux ....
(au fait je sors tout juste d'une l'install de la 3.0r0 en stable)

Merci de tout aide ....

Régis


-----------------------------------------------------------------

// named.conf


// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the 
// structure of BIND configuration files in Debian for BIND versions 8.2.1 
// and later, *BEFORE* you customize this configuration file.
//


// secret must be the same as in /etc/rndc.conf 
key "rndc-key" {
	algorithm hmac-md5;
	secret "MLyAP93rIPzgo9tMa+lTWw==";
};
 
controls { 
    inet 127.0.0.1 port 953
	allow { 127.0.0.1; } keys { "rndc-key"; };

}; 


options {
        directory "/var/cache/bind";

        // 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 and later use an unprivileged
        // port by default.

        query-source address * port 53;

	// If your ISP provided one or more IP addresses for stable 
	// nameservers, you probably want to use them as forwarders.  
	// Uncomment the following block, and insert the addresses replacing 
	// the all-0's placeholder.

	forward only;

	forwarders {
		193.252.19.3;
		193.252.19.4;
	};
};

// reduce log verbosity on issues outside our control
logging {
	category "unmatched" { "null"; };
	category "default" {"default_syslog"; "default_debug";};
	category lame-servers { null; };
	category cname { null; };
};

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

// add entries for other zones below here

zone "1.168.192.in-addr.arpa" {
        type master;
        file "/etc/bind/db.192";
	forwarders{};
};

zone "bruley.org.in-addr.arpa" {
        type master;
        file "/etc/bind/db.bruley.org";
	forwarders{};
};



-----------------------------------------------------------------

; db.192
;
; resolution inverse 

$TTL    604800
@       IN      SOA     jarod.bruley.org.  root.bruley.org. (
       	                    1         ; Serial
                       604800         ; Refresh
                        86400         ; Retry
                      2419200         ; Expire
                       604800 )       ; Negative Cache TTL
;
@   IN      NS      localhost.
1   IN      PTR     jarod.bruley.org.
11  IN      PTR     tati.bruley.org.



-----------------------------------------------------------------

; db.bruley.org
;
;
;
$TTL	604800
@    IN    SOA    jarod.bruley.org.    root.bruley.org. (
    2000070306 ; serial
    3600       ; refresh
    900        ; retry
    1209600    ; expire
    43200      ; default_ttl
)

;
;
;

@    IN    A    192.168.1.1
    IN     NS    jarod
    IN     NS    jarod.bruley.org.

;

    IN    MX    10    jarod
    IN    MX    20    jarod.bruley.org.

jarod    IN    A        192.168.1.1
tati	 IN    A	192.168.1.11

localhost   IN    A        127.0.0.1


www     CNAME    jarod
ftp     CNAME    jarod
mail    CNAME    jarod
imap	CNAME	 jarod
pop	CNAME	 jarod


-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 ? TTC/min)
Minitel: 3615 NETCOURRIER (0,15 ? TTC/min)



Reply to: