User Tools

Site Tools


dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dns [2021/06/11 03:20] – created vissiedns [2021/06/11 03:28] (current) vissie
Line 2: Line 2:
 https://fedoramagazine.org/dnsmasq-provide-dns-dhcp-services/ https://fedoramagazine.org/dnsmasq-provide-dns-dhcp-services/
 <code>sudo apt-get install dnsmasq resolvconf</code> <code>sudo apt-get install dnsmasq resolvconf</code>
-Edit /etc/dnsmasq.conf +Edit /etc/dnsmasq.conf: 
 +<sxh bash; gutter: false>
 domain-needed domain-needed
 bogus-priv bogus-priv
Line 23: Line 23:
 dhcp-authoritative dhcp-authoritative
 dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
-DNS Only+</sxh> 
 +=====DNS Only=====
 https://medium.com/myatus/poor-mans-device-discovery-dns-492a95ea8c8b https://medium.com/myatus/poor-mans-device-discovery-dns-492a95ea8c8b
 +
 I use dnsmasq now only for dns, not dhcp. I use this "trick" to keep my mac's and IPs the same. I use dnsmasq now only for dns, not dhcp. I use this "trick" to keep my mac's and IPs the same.
  
-run 
  
-sudo arp-scan -l -m /usr/share/arp-scan/mac-vendor.txt+<code>sudo arp-scan -l -m /usr/share/arp-scan/mac-vendor.txt</code>
 see IPs and MACs. Want to keep a record of that, do: see IPs and MACs. Want to keep a record of that, do:
  
-sudo vim /usr/share/arp-scan/mac-vendor.txt+<code>sudo vim /usr/share/arp-scan/mac-vendor.txt</code> 
 +<sxh bash; gutter: false>
 ## Vissie's adresses ## Vissie's adresses
 # pls copy past this line as you NEED the tab.... # pls copy past this line as you NEED the tab....
 10AA4B06550D    linksys 10AA4B06550D    linksys
 80A11CA6D1  tflow 80A11CA6D1  tflow
-sudo systemctl restart dnsmasq.service+</sxh> 
 +<code>sudo systemctl restart dnsmasq.service</code> 
 + 
dns.1623406805.txt.gz · Last modified: 2021/06/11 03:20 by vissie