Bonjour à Tous, Merci d'avance pour votre aide pour me sortir de ce labyrinthe.
Voici mon problème:
J'ai installé BIND sur un serveur CENTOS 6.4
J'ai configuré NAMED.CONF
J'ai Configurer mes zones direct et inverse
mais rien ne fonctionne!!
**un netstat me donne :**
=====================
[root@server ~]# netstat -ntaup | grep named
tcp 0 0 192.168.1.50:53 0.0.0.0:* LISTEN 1589/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1589/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1589/named
udp 0 0 192.168.1.50:53 0.0.0.0:* 1589/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 1589/named
**un named-checkconf -z me donne**
==================================
[root@server ~]# named-checkconf -z
zone eeb62.local/IN: loaded serial 2013092705
zone 1.168.192.in-addr.arpa/IN: loaded serial 2013092705
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
**un named-checkzone me donne**
===============================
[root@server ~]# named-checkzone eeb62.local /var/named/eeb62.local
zone eeb62.local/IN: loaded serial 2013092705
OK
[root@server ~]#
**Par contre pour la zone inverse - bug-**
==========================================
[root@server ~]# named-checkzone eeb62.local /var/named/1.168.192.rev
zone eeb62.local/IN: NS 'ns1.eeb62.local' has no address records (A or AAAA)
zone eeb62.local/IN: not loaded due to errors.
[root@server ~]#
**Mon fichier named.conf ne semble pas contenir d'erreur:**
===========================================================
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 54 { 127.0.0.1; 192.168.1.50; };
listen-on-v6 port 53 { none; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
version "SECRET";
allow-query { localhost; any; };
recursion yes;
// forward first;
// forwarders {
// 8.8.8.8;
// 8.8.4.4;
// };
// dnssec-enable yes;
// dnssec-validation yes;
// dnssec-lookaside auto;
// auth-nxdomain no;
// /* Path to ISC DLV key */
// bindkeys-file "/etc/named.iscdlv.key";
// managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
channel log_dns {
file "/var/named/log/dns.log" versions 3 size 5m;
print-category yes;
print-severity yes;
print-time yes;
};
channel log_queries {
file "/var/named/log/dns_queries.log" versions 3 size 10m;
print-category yes;
print-severity yes;
print-time yes;
};
category default {log_dns;};
category queries {log_queries;};
category lame-servers {null;};
category edns-disabled {null;};
};
zone "." IN {
type hint;
file "db.cache";
};
zone "eeb62.local" IN {
type master;
file "eeb62.local";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.rev";
allow-update { none; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
**mon fichier zone direct**
===========================
$TTL 3H
@ IN SOA ns1.eeb62.local. root.eeb62.local. (
2013092705 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS ns1.eeb62.local.
; Network Hosts
ns1 IN A 192.168.1.50
**Mon fichier inverse qui semble posé problème!!!**
===================================================
$TTL 3H
@ IN SOA ns1.eeb62.local. root.eeb62.local. (
2013092705 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS ns1.eeb62.local.
; Network Hosts
50 IN PTR ns1.eeb62.local.
###############################################################
Malgré plusieurs recherche sur le web et différent forum, je ne trouve pas mon erreur!!!
Merci pour vos lumières
Cordialement
APB
Poste le Friday 27 September 2013 13:53:05