Le ping avec nom du domain ne marche pas chez le client

Résolu/Fermé
jechmaki masudi Messages postés 19 Date d'inscription lundi 19 août 2013 Statut Membre Dernière intervention 22 septembre 2015 - 17 sept. 2015 à 22:10
jechmaki masudi Messages postés 19 Date d'inscription lundi 19 août 2013 Statut Membre Dernière intervention 22 septembre 2015 - 18 sept. 2015 à 07:02
Bonjour,

Je suis debuttant dans l'outil VMWARE WORKSTATION et UBUNTU.
j'ai une machine virtuelle ubuntu qui contient toute la configuration de mon serveur dns (bind9).
A mon avis j'ai bien configurer mais le ping ne marche que dans la machine serveur et non dans celle du client.
Je signale que l'adresse static de la machine serveur est le 192.168.43.127, comme passerelle la meme adresse.
voici mes fichiers de configuration :

1) /etc/hostname : serv1
2) /etc/hosts : 127.0.0.1 localhost
127.0.1.1 ubuntu
192.168.43.127 dgdastage.net serv1

# 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
3) /etc/bind/names.conf.local :
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "dgdastage.net" {
type master;
file "/etc/bind/db.dgdastage.net";
forwarders {};
};
zone "43.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.dgdastage.net.inv";
forwarders {};
};
4) /etc/bind/named.conf.options :
options {
directory "/etc/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See https://www.kb.cert.org/vuls/id/800113/

// 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.

//forwarders {
// 0.0.0.0;
//};

//=====================================================================$
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys/
// the all-0's placeholder.

//forwarders {
// 0.0.0.0;
//};

//=====================================================================$
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys/
//=====================================================================$
dnssec-validation auto;

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};

5) FICHIER DIRECTE /etc/bind/db.dgdastage.net :
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA serv1.dgdastage.net root.dgdastage.net. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS serv1.dgdastage.net.
serv1 IN A 192.168.43.127
srvX IN A 192.168.43.126

6) FICHIER INVERSE /etc/bind/db.dgdastage.net.inv
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA serv1.dgdastage.net. root.dgdastage.net. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS serv1
127 IN PTR serv1.dgdastage.net.
126 IN PTR srvX.dgdastage.net.

C'EST TOUT JE CROIS.
Merci pour toute reaction

1 réponse

jechmaki masudi Messages postés 19 Date d'inscription lundi 19 août 2013 Statut Membre Dernière intervention 22 septembre 2015 1
18 sept. 2015 à 07:02
je viens de me connecter à mon serveur à partir de la machine client.
VOUS SAVEZ LE PROBLEME ETAIT QUOI?
SIMPLE :

IL FALLAIT PINGER AVEC nom_serveur.nom_domaine et non le nom_domaine seulement.
Ainsi dans execute j'ai fait ping serv1.dgdastage.net -t, et le truck a bien fonctionné.
Meme dans mon navigateur le serv1.dgdastage.net m'amene le fameux It Works!

MERCI A TOUS
1