# Set the limit on DHCP leases, the default is 150
# Set the limit on DHCP leases, the default is 150
dhcp-lease-max=150
dhcp-lease-max=100
# Set the DHCP server to authoritative mode. In this mode it will barge in
# Set the DHCP server to authoritative mode. In this mode it will barge in
# and take over the lease for any client which broadcasts on the network,
# and take over the lease for any client which broadcasts on the network,
@ -83,14 +99,3 @@ then take the interface down and bring it back up with:
ifdown lan0
ifdown lan0
ifup lan0
ifup lan0
```
```
## Configure NetworkManager
If you want the router itself to also send DNS requests through dnsmasq, you need to configure NetworkManager to use dnsmasq. Edit the file `/etc/NetworkManager/NetworkManager.conf`, and under the header `[main]` add the line:
```
dns=dnsmasq
```
then restart NetworkManager to make the changes take effect: