all
This commit is contained in:
		
							
								
								
									
										3
									
								
								Reseaux/Bind9/LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Reseaux/Bind9/LICENSE
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
Additional permission under GNU GPL version 3 section 7
 | 
			
		||||
 | 
			
		||||
If you modify this Program, or any covered work, by linking or combining it with [name of library] (or a modified version of that library), containing parts covered by the terms of [name of library's license], the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of [name of library] used as well as that of the covered work.
 | 
			
		||||
							
								
								
									
										66
									
								
								Reseaux/Bind9/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								Reseaux/Bind9/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,66 @@
 | 
			
		||||

 | 
			
		||||
URL : https://github.com/hargata/lubelog
 | 
			
		||||
 | 
			
		||||
# Bind9 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Téléchargement, Configuration et Lancement
 | 
			
		||||
 | 
			
		||||
## Téléchargement de Bind9
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour télécharger la source
 | 
			
		||||
```bash
 | 
			
		||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour vous rendre dans le dossier
 | 
			
		||||
```bash
 | 
			
		||||
cd Reseaux\Bind9
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Modifier la configuration de Bind9
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour vous rendre dans le dossier
 | 
			
		||||
```bash
 | 
			
		||||
cd Reseaux\Bind9
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Nous éditons le fichier de configuration
 | 
			
		||||
```bash
 | 
			
		||||
nano .env
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Nous modifions les variables dont nous avons besoin.
 | 
			
		||||
 | 
			
		||||
## Lancement de Bind9
 | 
			
		||||
 | 
			
		||||
Pour utiliser Bind9 tout seul
 | 
			
		||||
```bash
 | 
			
		||||
docker compose up -d
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Pour utiliser Bind9 avec Traefik
 | 
			
		||||
```bash
 | 
			
		||||
docker compose -f docker-compose-traefik.yml up -d
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Utilisation
 | 
			
		||||
 | 
			
		||||
## Accueil
 | 
			
		||||
 | 
			
		||||
Ouvrir une page web avec l'url :
 | 
			
		||||
Pour une utilisation tout seul
 | 
			
		||||
 | 
			
		||||
	http://10.0.4.29:3000
 | 
			
		||||
 | 
			
		||||
Pour une utilisation avec Traefik
 | 
			
		||||
 | 
			
		||||
	https://Bind9.10.0.4.29.traefik.me`)"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# More info
 | 
			
		||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
 | 
			
		||||
 | 
			
		||||
# Buy me a coffe
 | 
			
		||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
 | 
			
		||||
							
								
								
									
										10
									
								
								Reseaux/Bind9/config/home-clcreative-de.zone
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Reseaux/Bind9/config/home-clcreative-de.zone
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
$ORIGIN .
 | 
			
		||||
$TTL 86400	; 1 day
 | 
			
		||||
home.clcreative.de	IN SOA	ns.home.clcreative.de. home.clcreative.de. (
 | 
			
		||||
				2001062618 ; serial
 | 
			
		||||
				3600       ; refresh (1 hour)
 | 
			
		||||
				3600       ; retry (1 hour)
 | 
			
		||||
				2419200    ; expire (4 weeks)
 | 
			
		||||
				3600       ; minimum (1 hour)
 | 
			
		||||
				)
 | 
			
		||||
			NS	ns.home.clcreative.de.
 | 
			
		||||
							
								
								
									
										39
									
								
								Reseaux/Bind9/config/named.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								Reseaux/Bind9/config/named.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
include "/etc/bind/named.conf.key";
 | 
			
		||||
 | 
			
		||||
controls {
 | 
			
		||||
    inet 127.0.0.1 port 953
 | 
			
		||||
    allow { 127.0.0.1; } keys { "tsig-key"; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
acl docker-1 {
 | 
			
		||||
  172.17.0.0/16;
 | 
			
		||||
  172.18.0.0/16;
 | 
			
		||||
  172.19.0.0/16;
 | 
			
		||||
  172.20.0.0/16;
 | 
			
		||||
  172.21.0.0/16;
 | 
			
		||||
  172.22.0.0/16;
 | 
			
		||||
  172.23.0.0/16;
 | 
			
		||||
  172.24.0.0/16;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
acl dmz-prod-1 {
 | 
			
		||||
  10.20.0.0/16;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
acl lan-prod-1 {
 | 
			
		||||
  10.10.0.0/16;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
options {
 | 
			
		||||
  forwarders {
 | 
			
		||||
    1.1.1.1;
 | 
			
		||||
    1.0.0.1;
 | 
			
		||||
  };
 | 
			
		||||
  allow-query { 127.0.0.1; docker-1; lan-prod-1; dmz-prod-1; };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
zone "home.clcreative.de" IN {
 | 
			
		||||
  type master;
 | 
			
		||||
  file "/etc/bind/home-clcreative-de.zone";
 | 
			
		||||
  update-policy { grant tsig-key zonesub any; };
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										7
									
								
								Reseaux/Bind9/config/rndc.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Reseaux/Bind9/config/rndc.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
include "/etc/bind/named.conf.key";
 | 
			
		||||
 | 
			
		||||
options {
 | 
			
		||||
    default-key "tsig-key";
 | 
			
		||||
    default-server 127.0.0.1;
 | 
			
		||||
    default-port 953;
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										66
									
								
								Reseaux/Bind9/docker-compose-traefik.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								Reseaux/Bind9/docker-compose-traefik.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,66 @@
 | 
			
		||||

 | 
			
		||||
URL : HHHHH
 | 
			
		||||
 | 
			
		||||
# Fichier-Stockage 
 | 
			
		||||
 | 
			
		||||
GGGGG
 | 
			
		||||
 | 
			
		||||
# Téléchargement, Configuration et Lancement
 | 
			
		||||
 | 
			
		||||
## Téléchargement de Fichier-Stockage
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour télécharger la source
 | 
			
		||||
```bash
 | 
			
		||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour vous rendre dans le dossier
 | 
			
		||||
```bash
 | 
			
		||||
cd AAAAA\Fichier-Stockage
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Modifier la configuration de Fichier-Stockage
 | 
			
		||||
 | 
			
		||||
Saisir la commande pour vous rendre dans le dossier
 | 
			
		||||
```bash
 | 
			
		||||
cd AAAAA\Fichier-Stockage
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Nous éditons le fichier de configuration
 | 
			
		||||
```bash
 | 
			
		||||
nano .env
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Nous modifions les variables dont nous avons besoin.
 | 
			
		||||
 | 
			
		||||
## Lancement de Fichier-Stockage
 | 
			
		||||
 | 
			
		||||
Pour utiliser Fichier-Stockage tout seul
 | 
			
		||||
```bash
 | 
			
		||||
docker compose up -d
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Pour utiliser Fichier-Stockage avec Traefik
 | 
			
		||||
```bash
 | 
			
		||||
docker compose -f docker-compose-traefik.yml up -d
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Utilisation
 | 
			
		||||
 | 
			
		||||
## Accueil
 | 
			
		||||
 | 
			
		||||
Ouvrir une page web avec l'url :
 | 
			
		||||
Pour une utilisation tout seul
 | 
			
		||||
 | 
			
		||||
	http://10.0.4.29:3000
 | 
			
		||||
 | 
			
		||||
Pour une utilisation avec Traefik
 | 
			
		||||
 | 
			
		||||
	https://Fichier-Stockage.10.0.4.29.traefik.me`)"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# More info
 | 
			
		||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
 | 
			
		||||
 | 
			
		||||
# Buy me a coffe
 | 
			
		||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
 | 
			
		||||
							
								
								
									
										12
									
								
								Reseaux/Bind9/docker-compose.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Reseaux/Bind9/docker-compose.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
---
 | 
			
		||||
services:
 | 
			
		||||
  bind9:
 | 
			
		||||
    container_name: dns-prod-1
 | 
			
		||||
    image: ubuntu/bind9:9.18-23.04_edge
 | 
			
		||||
    environment:
 | 
			
		||||
      - BIND9_USER=root
 | 
			
		||||
      - TZ=Europe/Berlin
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./config/:/etc/bind:rw
 | 
			
		||||
    network_mode: host
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
							
								
								
									
										8
									
								
								Reseaux/Bind9/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								Reseaux/Bind9/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
#### NETWORKS
 | 
			
		||||
networks:
 | 
			
		||||
  back_network:
 | 
			
		||||
    driver: bridge
 | 
			
		||||
    attachable: true
 | 
			
		||||
 | 
			
		||||
#### SERVICES
 | 
			
		||||
services:
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Reseaux/Bind9/img/banniere-Bind9.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Reseaux/Bind9/img/banniere-Bind9.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 7.3 KiB  | 
		Reference in New Issue
	
	Block a user