|
|
|
Linux Training 1825 Monetary Lane Suite #104 Carrollton, TX Do a presentation at NTLUG. What is the Linux Installation Project? Real companies using Linux! Not just for business anymore. Providing ready to run platforms on Linux |
# dhcpd.conf
# The Endless Now
#
authoritative;
# This prevents clients from updating their own information, we
# will instead parse the client supplied options and make
# the selection of hostname and domainname.
deny client-updates;
# This forces the domain name here If you want different domain names for
# different clients, you can override this name in a more specific
# scope - at group, subnet, pool or even host level.
#
option domain-name-servers 192.168.44.6;
option netbios-name-servers 192.168.44.33;
option ntp-servers 192.168.44.6;
option nis-domain "fbc.nis";
option nis-servers 192.168.44.6;
ddns-domainname "theendlesshome.com";
option domain-name "theendlesshome.com";
max-lease-time 300;
default-lease-time 300;
# DDNS is still in flux, hence the term "interim". If you are using DDNS,
# this line has to be here.
ddns-update-style interim;
# This allows there to be entries in the leases file and ddns updates
# made for fixed addresses.
update-static-leases true;
# Generate DNS names for clients who don't provide a
# host-name... the generated names will be ASCII representations
# of the clients' MAC addresses. See notes below on variations for
# fixed-address hosts.
ddns-hostname = pick (option fqdn.hostname, option host-name,
binary-to-ascii (16, 8, "-", substring (hardware, 1, 6)));
# Describe forward DNS zones allowing updates
#
# CHANGE the key and you'll need to change the key in
# BIND and remove all DNS dynamic journals (.jnl) and
# clear out the dhcpd.leases.
#
# This key must match the key in your BIND named.conf
# for updates to the zones.
#
# DON'T CHANGE this often!
#
key FBC_UPDATER {
algorithm hmac-md5;
secret "cw4fCmKNv9GZ9ygHab2ynA==";
}
# Describe primary forward dynamic ddns zone allowing updates
zone theendlesshome.com. {
primary 192.168.44.6;
key FBC_UPDATER;
}
# Describe reverse DNS zones allowing updates
zone 44.168.192.in-addr.arpa. {
primary 192.168.44.6;
key FBC_UPDATER;
}
# This is a subnet showing what's needed to get DDNS happening for clients
# in the subnet. Note the keyword "dynamic" on the fixed addresses, so that
# they get entries in the leases file and ddns entries.
## FBC DHCP Subnet 1
subnet 192.168.44.0 netmask 255.255.255.0
{
option routers 192.168.44.6 ;
pool
{
deny dynamic bootp clients ;
range 192.168.44.100 192.168.44.200 ;
}
}
|