Skip to content

Instantly share code, notes, and snippets.

@wttw
Last active January 9, 2017 21:53
Show Gist options
  • Save wttw/2b4f4b6d16e035e5dadc455d14536dd5 to your computer and use it in GitHub Desktop.
Save wttw/2b4f4b6d16e035e5dadc455d14536dd5 to your computer and use it in GitHub Desktop.
alt3.aspmx.l.google.com is made up of alt3 and a pointer to inside
alt1.aspmx.l.google.com, which in turn is made up of alt1.aspmx.l and a
pointer to google.com.
Raw:
0000 f4 0f 24 31 10 20 d4 ca 6d 55 43 4c 08 00 45 00 ..$1. ..mUCL..E.
0010 00 f4 3a 16 00 00 29 11 4c 91 d8 ef 20 0a c0 a8 ..:...).L... ...
0020 50 b0 00 35 d6 2f 00 e0 dd a1 bf b9 85 00 00 01 P..5./..........
0030 00 05 00 00 00 05 06 67 6f 6f 67 6c 65 03 63 6f .......google.co
0040 6d 00 00 0f 00 01 c0 0c 00 0f 00 01 00 00 02 58 m..............X
0050 00 11 00 14 04 61 6c 74 31 05 61 73 70 6d 78 01 .....alt1.aspmx.
0060 6c c0 0c c0 0c 00 0f 00 01 00 00 02 58 00 09 00 l...........X...
0070 28 04 61 6c 74 33 c0 2f c0 0c 00 0f 00 01 00 00 (.alt3./........
0080 02 58 00 09 00 32 04 61 6c 74 34 c0 2f c0 0c 00 .X...2.alt4./...
0090 0f 00 01 00 00 02 58 00 09 00 1e 04 61 6c 74 32 ......X.....alt2
00a0 c0 2f c0 0c 00 0f 00 01 00 00 02 58 00 04 00 0a ./.........X....
00b0 c0 2f c0 2a 00 01 00 01 00 00 01 25 00 04 4a 7d ./.*.......%..J}
00c0 c9 1a c0 47 00 01 00 01 00 00 01 25 00 04 ad c2 ...G.......%....
00d0 42 1a c0 5c 00 01 00 01 00 00 01 25 00 04 ad c2 B..\.......%....
00e0 d2 1a c0 71 00 01 00 01 00 00 01 25 00 04 ad c2 ...q.......%....
00f0 db 1a c0 2f 00 01 00 01 00 00 01 25 00 04 4a 7d .../.......%..J}
0100 1c 1a
Dissected:
; <<>> DiG 9.8.3-P1 <<>> @216.239.32.10 google.com mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28297
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;google.com. IN MX
;; ANSWER SECTION:
google.com. 600 IN MX 20 alt1.aspmx.l.google.com.
google.com. 600 IN MX 30 alt2.aspmx.l.google.com.
google.com. 600 IN MX 50 alt4.aspmx.l.google.com.
google.com. 600 IN MX 40 alt3.aspmx.l.google.com.
google.com. 600 IN MX 10 aspmx.l.google.com.
;; ADDITIONAL SECTION:
alt1.aspmx.l.google.com. 293 IN A 74.125.201.26
alt2.aspmx.l.google.com. 293 IN A 173.194.219.26
alt4.aspmx.l.google.com. 293 IN A 173.194.210.26
alt3.aspmx.l.google.com. 293 IN A 173.194.66.26
aspmx.l.google.com. 293 IN A 74.125.28.26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment