Afficher un message
Vieux 02/03/2016, 17h57   #4 (permalink)
Profil
jack
Technic'Admin
Ancienneté  79%
Ancienneté 79%
 
Avatar de jack
 
Date d'inscription: mai 2006
Localisation: LV-426
Âge: 36
Pays :
Messages: 17 178
Téléchargements: 4
Uploads: 0
Merci: 7
Remercié 407 fois dans 358 Posts
Par défaut

Admettons que ta DMZ soit sur 172.16.1.0/24

Dans named.conf.local tu rajoutes la declaration de zone. Le nom du fichier on s'en fou, j'ai mis db.172.16.1 mais tu peux l'appeler monsuperchat ca change rien ....

Code:
zone "1.16.172.in-addr.arpa" {
type master;
file "/var/cache/bind/db.172.16.1";
};
Et ton fichier DB de zone dans /var/cache/bind/db.172.16.1, en admettant que 172.16.1.1 soit ton serveur qui s'appelle nomduserveurendmz.m2l.com

Code:
; BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
1.16.172.in-addr.arpa. IN SOA dns.m2l.com. root.m2l.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS dns.m2l.com.
1 IN PTR nomduserveurendmz.m2l.com.
__________________
Hello IT ... Have you tried to turn it off and on again ? ... The button on the side, is it glowing ? ... Yeah you need to turn it on ! ... The button turns it on ? ... You DO know how a button works don't you ! ?
jack est déconnecté   Réponse avec citation