Dns
Jump to navigation
Jump to search
Setup
https://fedoramagazine.org/dnsmasq-provide-dns-dhcp-services/
sudo apt-get install dnsmasq resolvconf
Edit /etc/dnsmasq.conf
domain-needed bogus-priv strict-order
no-resolv interface=en01 listen-address=127.0.0.1,192.168.1.2 # Open DNS server=208.67.222.222 server=208.67.220.220
# 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