Skip to content

Instantly share code, notes, and snippets.

@optman
Created October 21, 2015 03:16
Show Gist options
  • Save optman/771cc28cac6913f8a466 to your computer and use it in GitHub Desktop.
Save optman/771cc28cac6913f8a466 to your computer and use it in GitHub Desktop.
//dig @8.8.8.8
11:08:48.254393 IP (tos 0x0, ttl 64, id 24379, offset 0, flags [none], proto UDP (17), length 71)
192.168.199.3.49860 > 8.8.8.8.53: 50653+ [1au] A? www.google.com. (43)
11:08:48.413252 IP (tos 0x0, ttl 38, id 5516, offset 0, flags [none], proto UDP (17), length 87)
8.8.8.8.53 > 192.168.199.3.49860: 50653 1/0/1 www.google.com. A 216.58.221.132 (59)
//dig @192.168.199.1 (which's dns is point to 8.8.8.8)
11:09:17.174259 IP (tos 0x0, ttl 64, id 16284, offset 0, flags [none], proto UDP (17), length 71)
192.168.199.3.44789 > 192.168.199.1.53: 53494+ [1au] A? www.google.com. (43)
11:09:17.175213 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 151)
192.168.199.1.53 > 192.168.199.3.44789: 53494 5/0/1 www.google.com. A 173.194.117.147, www.google.com. A 173.194.117.144, www.google.com. A 173.194.117.146, www.google.com. A 173.194.117.148, www.google.com. A 173.194.117.145 (123)
The result is total different!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment