Word File - DHCP & Zone XXXXX Local - CONF File
Word File - DHCP & Zone XXXXX Local - CONF File
# nano /etc/dhcpd.conf
#------ The following two line indicates Dynamic DNS updates are NOT supported by linux DHCP service ddns-update-style none; #------ Your Network ID and Subnet subnet 192.168.1.0 netmask 255.255.255.0 { #------ default gateway for your clients, these are optional option routers option subnet-mask 192.168.1.1; 255.255.255.0;
#------ NIS domain name , Public domain name and DNS server IP, these are optional option option option option nis-domain "xxxxxx.local"; domain-name "xxxxxx.local"; domain-name-servers 192.168.1.20; domain-name-servers 192.168.1.30;
#------ The IP range that will be given to your clients and default lease time, this is a must range dynamic-bootp 192.168.1.200 192.168.1.202; default-lease-time 21600; max-lease-time 43200; #------ Reserved IPs for clients host srv2 { option host-name "srv2.xxxxxx.local"; hardware ethernet 00:02:A5:E3:67:8E; fixed-address 192.168.1.201; } }
Samantha Indika
MCT, ACS, CEH, CCNA, BCS (Certificate), MCS (SL), MCITP, MCTS, MCSE + Security + Messaging, MCSA + Security + Messaging, MCP
2 |Page
2. IN - Internet related
Information
3. SOA (Start of
Authority), the server is authorized to resolve which domains information
; Private client IPs srv1 IN A srv1 IN A srv1 IN A ; DNS server IPs srv IN A srv IN A srv IN A
5. 3H 3 hours
refresh interval, the slave server will check the master for updates after every 3 hours.
6. 1H 1 hour retry
interval, if the master server cant be contacted the slave server will retry to contact it very 1 hour
7. 1W 1 week expire
interval, if the master server cant be contacted within 1 week the slave server will be expired
8. 2D 2 days
minimum TTL, how long other DNS servers can keep our domains information
Samantha Indika
MCT, ACS, CEH, CCNA, BCS (Certificate), MCS (SL), MCITP, MCTS, MCSE + Security + Messaging, MCSA + Security + Messaging, MCP