Précédent   Forum des professionnels en informatique > Systèmes > Linux > Réseau
Réseau Vos questions autour des réseaux et télécoms sous Linux
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 01/03/2011, 15h40   #1
Futur Membre du Club
 
nicolas lefebvre
Inscription : mai 2010
Messages : 72
Détails du profil
Informations personnelles :
Nom : nicolas lefebvre

Informations forums :
Inscription : mai 2010
Messages : 72
Points : 18
Points : 18
Par défaut dns bind ne point pas vers extérieure

slt,

j'ai conf bind avec webmin1.530 .

Mon fichier named.comf est
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the 
// structure of BIND configuration files in Debian, *BEFORE* you customize 
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
 
include "/etc/bind/named.conf.options";
 
key key {
	algorithm hmac-md5;
	secret "***************************";
	};
 
controls {
	inet 127.0.0.1 allow { any; } keys { key; rndc-key; };
};
 
// 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";
};
 
zone "0.168.192.in-addr.arpa" {
	type master;
	file "/etc/bind/db.192.168.0.rev";
};
include "/etc/bind/named.conf.local";
 
key rndc-key {
	algorithm hmac-md5;
	secret "******************";
	};
le fichier named.option
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
options {
	directory "/var/cache/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 http://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.
	query-source address * port 53;
 
 
 
forwarders {
		212.27.40.241;212.27.40.240;//dns free
 
		};
 
	auth-nxdomain no;    # conform to RFC1035
	listen-on-v6 { any; };
	forward first;
};
fichier named.local
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
// 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 "13.0.168.192.in-addr.arpa" {
	type master;
	file "/var/lib/bind/192.168.0.13.rev";
	};
zone "mondomaine.fr" {
	type master;
	file "/var/lib/bind/mondomaine.fr.hosts";
allow-query { any; };
allow-transfer { any; }; 
	};
mon fichier mondomaine.fr.hosts

Code :
1
2
3
4
5
6
7
8
9
10
11
12
$ttl 38400
mondomaine.fr.	IN	SOA	ns1.mondomaine.fr. contact.mondomaine.fr (
			1298986654
			10800
			3600
			604800
			38400 )
mondomaine.fr.	IN	NS	ns1.mondomaine.fr.
mondomaine.fr.	IN	A	192.168.0.13
ns1.mondomaine.fr.	IN	A	192.168.0.13
ns1.mondomaine.fr.	IN	A	88.169.***.**
www.mondomaine.fr.	IN	CNAME	mondomaine.fr.
fichier 192.168.0.13.rev
Code :
1
2
3
4
5
6
7
8
9
$ttl 38400
13.0.168.192.in-addr.arpa.	IN	SOA	ns1. contact.mondomaine.fr (
			1298986655
			10800
			3600
			604800
			38400 )
13.0.168.192.in-addr.arpa.	IN	NS	ns1.
13.0.168.192.in-addr.arpa.	IN	PTR	ns1.
fichier resolv.conf
Code :
1
2
3
search ns1.mondomaine.fr
nameserver 192.168.0.13
nameserver 88.169.***.**
mon problème est que lorsque je fais
Code :
dig ns1.mondomaine.fr ou ping ns1.mondomaine.fr
sa marche sur le serveur , mais pas depuis un pc connecter au réseaux ni de l'extérieur.
nlefebvre1 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/03/2011, 23h18   #2
Invité de passage
 
Homme Oussa DIHAJI
Administrateur systèmes et réseaux
Inscription : mars 2011
Messages : 16
Détails du profil
Informations personnelles :
Nom : Homme Oussa DIHAJI
Localisation : Maroc

Informations professionnelles :
Activité : Administrateur systèmes et réseaux

Informations forums :
Inscription : mars 2011
Messages : 16
Points : 1
Points : 1
essayer de faire un test par nslookup
oussa_7 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/03/2011, 09h19   #3
Membre Expert
 
Avatar de becket
 
Frédéric Brugmans
Informaticien multitâche
Inscription : février 2005
Messages : 661
Détails du profil
Informations personnelles :
Nom : Frédéric Brugmans

Informations professionnelles :
Activité : Informaticien multitâche

Informations forums :
Inscription : février 2005
Messages : 661
Points : 1 196
Points : 1 196
Sur le pc de ton réseaux, utilises tu bien 192.168.0.13 comme serveur de nom ?
Si oui, tu devrais jeter un oeil sur ce que bind ( named )écoute

et vérifier que le traffic vers le port 53 est autorisé

becket est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 14h45.


 
 
 
 
Partenaires

Hébergement Web