From b507c1c381c4b18d1f996344ff50e92d1858ca90 Mon Sep 17 00:00:00 2001
From: Al Massati Bilal <bilal.almassati.etu@b05p3.fil.univ-lille.fr>
Date: Fri, 16 Dec 2022 12:55:27 +0100
Subject: [PATCH] v7 Final correction

---
 docs/procedure-dhcp.md | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

diff --git a/docs/procedure-dhcp.md b/docs/procedure-dhcp.md
index b92a6f0..64e2db4 100644
--- a/docs/procedure-dhcp.md
+++ b/docs/procedure-dhcp.md
@@ -56,8 +56,8 @@
         option subnet-mask 255.255.255.0;
         option domain-name "networkandco.org";
         option domain-name-servers 192.168.40.151;
+    }
 
-}
 #VLAN 4 
 
     subnet 192.168.60.0 netmask 255.255.255.0 {
@@ -67,15 +67,18 @@
         option domain-name "networkandco.org";
         option domain-name-servers 192.168.40.151;
     }
-
-host dns {
+-----
+    host dns {
     hardware ethernet "MAC ADRESSE SERVEUR DNS"
     fixed-adress "IP DNS"
-}
-host dhcp {
+    }
+
+    //PARTIE DNS DYNAMIQUE
+
+    host dhcp {
     hardware ethernet "MAC ADRESSE SERVEUR dhcp"
     fixed-adress "IP dhcp"
-}
+    }
 --------
 
     key "dhcp-update-key" {
@@ -83,14 +86,23 @@ host dhcp {
         secret "7R1U767pLKhR+O/0hF11TfeNmoVpVU+lfLnL3GhvWpI=";
     }
 
-    zone networkandco.org {#VLAN 4
+    zone networkandco.org {
+    primary 192.168.40.151;
+    key "rndc-key";
+    }
+
+    zone 40.168.192.in-addr-arpa
+    {
+    primary 192.168.40.151;
+        key "rndc-key";
+    }
+
+    ddns-domainname "networkandco.org.";
+    ddns-rev-domainname "in-addr.arpa.";
+
+
+        
 
-auto enp0s3
-iface Production inet static
-        address 192.168.60.3
-        netmask 255.255.255.0
-        gateway 192.168.60.254
-vlan-raw-device enp0s3
 
 
 ### Configuration dhcp inter-vlan:
-- 
GitLab