Here is some information that I've found/discovered from playing around with packets. The following is presented in an adhoc tutorial style. Hopepully you find it interesting.
Something that I found useful was the ability to actually capture the raw UDP packet using tcpdump
utility.
In the following example, we'll capture a DNS query packet and save it to a file.
Open up two terminal windows. In one window, type the following: