ajout fichier …
This commit is contained in:
		
							
								
								
									
										22
									
								
								sio1/sisr1/20-dns/srv1/db.domaine.lan
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								sio1/sisr1/20-dns/srv1/db.domaine.lan
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
$ORIGIN .
 | 
			
		||||
$TTL 38400      ; 10 hours 40 minutes
 | 
			
		||||
domaine.lan         IN SOA  serv1.domaine.lan. root.serv1.domaine.lan. (
 | 
			
		||||
                                2023030201 ; serial
 | 
			
		||||
                                10800      ; refresh (3 hours)
 | 
			
		||||
                                3600       ; retry (1 hour)
 | 
			
		||||
                                604800     ; expire (1 week)
 | 
			
		||||
                                38400      ; minimum (10 hours 40 minutes)
 | 
			
		||||
                                )
 | 
			
		||||
                        NS      serv1.domaine.lan.
 | 
			
		||||
                        NS      serv2.domaine.lan.
 | 
			
		||||
                      
 | 
			
		||||
serv1.domaine.lan.     A 192.168.0.161
 | 
			
		||||
serv2.domaine.lan.     A 192.168.0.160
 | 
			
		||||
 | 
			
		||||
$ORIGIN domaine.lan.
 | 
			
		||||
poste1             A       192.168.0.100
 | 
			
		||||
poste2             A       192.168.0.101
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
www            CNAME poste1.domaine.lan.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										14
									
								
								sio1/sisr1/20-dns/srv1/db.domaine.lan.rev
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								sio1/sisr1/20-dns/srv1/db.domaine.lan.rev
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
$TTL 38400	; 10 hours 40 minutes 
 | 
			
		||||
@	IN SOA	serv1.domaine.lan. root.serv1.domaine.lan. (
 | 
			
		||||
		2016091501 ; serial
 | 
			
		||||
		10800      ; refresh (3 hours)
 | 
			
		||||
		3600       ; retry (1 hour)
 | 
			
		||||
		604800     ; expire (1 week)
 | 
			
		||||
		38400      ; minimum (10 hours 40 minutes)
 | 
			
		||||
	)
 | 
			
		||||
	IN	NS	serv1.domaine.lan.
 | 
			
		||||
	IN	NS	serv2.domaine.lan.
 | 
			
		||||
 | 
			
		||||
61	IN	PTR	serv1.sio.lan.
 | 
			
		||||
60	IN	PTR	serv2.sio.lan.
 | 
			
		||||
14	IN      PTR     wd.sio.lan.
 | 
			
		||||
							
								
								
									
										11
									
								
								sio1/sisr1/20-dns/srv1/named.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								sio1/sisr1/20-dns/srv1/named.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
// 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";
 | 
			
		||||
include "/etc/bind/named.conf.local";
 | 
			
		||||
include "/etc/bind/named.conf.default-zones";
 | 
			
		||||
							
								
								
									
										19
									
								
								sio1/sisr1/20-dns/srv1/named.conf.local
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								sio1/sisr1/20-dns/srv1/named.conf.local
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,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 directe
 | 
			
		||||
        zone "domaine.lan" {
 | 
			
		||||
             type master;
 | 
			
		||||
             file "/etc/bind/db.domaine.lan";
 | 
			
		||||
        };
 | 
			
		||||
 | 
			
		||||
	// zone inverse 
 | 
			
		||||
	zone "0.168.192.in-addr.arpa" {
 | 
			
		||||
	     type master;
 | 
			
		||||
             notify no;
 | 
			
		||||
             file "/etc/bind/db.domaine.lan.rev";
 | 
			
		||||
	};
 | 
			
		||||
							
								
								
									
										4
									
								
								sio1/sisr1/20-dns/srv1/resolv.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								sio1/sisr1/20-dns/srv1/resolv.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
search domaine.lan
 | 
			
		||||
nameserver 10.121.38.7
 | 
			
		||||
nameserver 127.0.0.1 #on ressoud localement
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user