Step I: Create the dhcp pool by Name
Router(config)#ip dhcp pool pool1
Step II: Assign network of IP address
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Step III: Assign a default gateway to that above mentioned pool
Router(dhcp-config)#default-router 192.168.1.1
Step IV: Assign a dns to that above mentioned pool
Router(dhcp-config)#dns-server 192.168.1.5
Router(dhcp-config)#?
default-router Default routers
dns-server Set name server
exit Exit from DHCP pool configuration mode
network Network number and mask
no Negate a command or set its defaults
Router(dhcp-config)#exit
Step V: Exclude any IP from above Assign network of IP address
Router(config)#ip dhcp excluded-address 192.168.1.1
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router#show ip dhcp binding