Dns Tcpdump Wireshark
Dns Tcpdump Wireshark
1. Tcpdump
In the second window, run the following command (you must be 'root', that's
why we use sudo):
This shows all packets going in and out of your machine for UDP port 53
(DNS).
Now in the first window (auth1), repeat some of the 'dig' queries from
earlier:
(for example)
Look at the output of tcpdump, check the source and destination IP address
of each packet:
Explanation:
-s 1500 Read the entire packet (otherwise tcpdump only reads 96 bytes)
2. Tshark
etc...
3. Wireshark
$ vncserver
Windows: http://www.realvnc.com/cgi-bin/download.cgi
(Choose Installer or ZIP for the Standalone viewer)
MacOS X: http://sourceforge.net/projects/cotvnc/files/latest/download
resolv.grpX.dns.nsrc.org:1
When asked for a password, type in the password you provided earlier
$ sudo wireshark
port 53
From your auth1 server run some `dig` commands like you did earlier:
To stop the capture, press the red "Stop" button (4th from the
left on the list of buttons at the top).
Now, you can explore the packet capture, save it, decode it, etc...