updateHosts Update /etc/hosts from an ubuntu isc-dhcp-server leases file Set this to run at your required interval in root's crontab. This script also automatically restarts dnsamasq - change or comment out if needed.