sudo apt-get install dnsmasq resolvconf
domain-needed bogus-priv strict-order no-resolv interface=en01 listen-address=127.0.0.1,192.168.1.2 # Open DNS server=22.214.171.124 server=126.96.36.199 # Set static IPs of other PCs and the Router. #dhcp-host=10:1f:41:d1:11:1c,iptime,192.168.0.1,infinite # Router dhcp-host=b2:27:2b:c2:52:c2,aname,192.168.1.97,720m dhcp-host=b2:27:3b:b3:83:63,anotername,192.168.1.96,720m dhcp-host=14:43:74:45:46:54,server,192.168.1.95,720m dhcp-range=192.168.1.100,192.168.1.200,24h dhcp-option=option:router,192.168.1.1 dhcp-authoritative dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
I use dnsmasq now only for dns, not dhcp. I use this “trick” to keep my mac's and IPs the same.
sudo arp-scan -l -m /usr/share/arp-scan/mac-vendor.txt
see IPs and MACs. Want to keep a record of that, do:
sudo vim /usr/share/arp-scan/mac-vendor.txt
## Vissie's adresses # pls copy past this line as you NEED the tab.... 10AA4B06550D linksys 80A11CA6D1 tflow
sudo systemctl restart dnsmasq.service