« DHCP » : différence entre les versions
Aller à la navigation
Aller à la recherche
(→DHCPv4) |
|||
| Ligne 1 : | Ligne 1 : | ||
= DHCPv4 = | = DHCPv4 = | ||
== Hôte statique == | |||
host client1 { | |||
hardware ethernet 00:11:22:99:88:77; | |||
fixed-address 192.168.0.200; | |||
} | |||
== DNS dynamique == | == DNS dynamique == | ||
Dernière version du 1 avril 2015 à 17:01
DHCPv4
Hôte statique
host client1 {
hardware ethernet 00:11:22:99:88:77;
fixed-address 192.168.0.200;
}
DNS dynamique
Configuration globale
ddns-update-style interim; authoritative;
Déclaration d'un DDNS pour un sous-réseau
ddns-updates on; ddns-domainname "dyn-cpe-hypr.net.glx"; ddns-rev-domainname "in-addr.arpa"; include "/etc/dhcp/rndc.key";
zone dyn-cpe-hypr.net.glx {
primary 10.46.0.46;
key rndc-key;
}
zone 10.in-addr.arpa {
primary 10.46.0.46;
key rndc-key;
}
Serveur DNS Bind
- /etc/apparmor.d/local/usr.sbin.named
/var/log/query.log rw, /etc/bind/** rw, /etc/bind/ rw,