diff --git a/docs/procedure-dhcp.md b/docs/procedure-dhcp.md index b92a6f0063abf0166e45f08c21126683ed79d3f7..64e2db4616fc075b10e5c0c45b2e7907e8c8b05f 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: