R1>enable
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no ip dhcp conflict logging
R1(config)#ip dhcp excluded-address 1.1.1.10 1.1.1.20
R1(config)#ip dhcp pool example
R1(dhcp-config)#network 1.1.1.0 255.255.255.0
R1(dhcp-config)#domain-name example.com
R1(dhcp-config)#dns-server 1.1.1.100
R1(dhcp-config)#default-router 1.1.1.1
R1(dhcp-config)#lease 1