Network scanning

List all connected devices on local WiFi network

arp-scan --interface=wlan0 --localnet

Scan subnet for all connected devices (in case hiding)

nmap -sn 192.168.0.0/24

Check DNS resolution

dig google.com

Key output:

;; Query time: 6 msec
;; SERVER: 192.168.0.4#53(192.168.0.4) (UDP)
;; WHEN: Wed Jun 12 18:27:27 BST 2024
;; MSG SIZE  rcvd: 55