ddns-update-style ad-hoc; subnet 192.168.2.0 netmask 255.255.255.0 { # default gateway option routers 192.168.2.178; option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.0; # dynamic updates ddns-updates on; ddns-domainname "mandrakesoft.com"; ddns-rev-domainname "in-addr.arpa"; option domain-name "mandrakesoft.com"; option domain-name-servers 192.168.2.178; range dynamic-bootp 192.168.2.214 192.168.2.222; default-lease-time 21600; max-lease-time 43200; #create your own secret with the dnssec-keygen command from # the bind package key mykey { algorithm hmac-md5; secret "IriCelUSbPMypSjImBsiTHMauOumRPMkdBjoxVINAx0vxJZNRKGWzFCKibad"; }; zone mandrakesoft.com. { primary 192.168.2.178; key mykey; } zone 2.168.192.in-addr.arpa. { primary 192.168.2.178; key mykey; } # we want the nameserver to appear at a fixed address host test1 { #use the ifconfig command and #copy the id corresponding to the eth card hardware ethernet 00:50:04:87:41:3B; #hardware ethernet 00:d0:59:24:9a:7d; fixed-address 192.168.2.2; #if you want to choose a different route, erase this comment option routers 192.168.2.1; option domain-name-servers 192.168.2.178; } host test2 { #copy the id corresponding to the card hardware ethernet 00:50:04:87:41:3B; #hardware ethernet 00:d0:59:24:9a:7d; fixed-address 192.168.2.130; option host-name "test2"; ddns-hostname "sunlight"; } }